TimeExtra
Extra functionality for Posix
All computations use Time.utc
epoch : Time.Posix
epoch
fromY : Year -> Time.Posix
fromY
Will create a Posix date with day 1 and month 1
fromYM : Year -> Time.Month -> Time.Posix
fromYM
Will create a Posix date with day 1
fromYMD : Year -> Time.Month -> Day -> Time.Posix
fromYMD
Will crate a Posix date
fromYMDH : Year -> Time.Month -> Day -> Hour -> Time.Posix
fromYMDH
Will create a Posix date
fromYMDHM : Year -> Time.Month -> Day -> Hour -> Minute -> Time.Posix
fromYMDHM
Will create a Posix date
fromYMDHMS : Year -> Time.Month -> Day -> Hour -> Minute -> Second -> Time.Posix
fromYMDHMS
Will create a Posix date
fromYMDHMSM : Year -> Time.Month -> Day -> Hour -> Minute -> Second -> Millis -> Time.Posix
fromYMDHMSM
Will create a Posix date
isLeapYear : Basics.Int -> Basics.Bool
isLeapYear
daysInMonth : Year -> Time.Month -> Basics.Int
daysInMonth
returns the number of days in a month