get time millis of a moth's first day and last day