Module DA.Time¶
Functions¶
- time
: Date -> Int -> Int -> Int -> Time
time d h m s
turns given UTC dated
and the UTC time (given in hours, minutes, seconds) into a UTC timestamp (Time
). Does not handle leap seconds.
- addRelTime
-
Adjusts
Time
with given time offset.
- wholeDays
-
Returns the number of whole days in a time offset. Fraction of time is rounded towards zero.
- milliseconds
-
A number of milliseconds in relative time.
- microseconds
-
A number of microseconds in relative time.
- convertRelTimeToMicroseconds
-
Convert RelTime to microseconds Use higher level functions instead of the internal microseconds
- convertMicrosecondsToRelTime
-
Convert microseconds to RelTime Use higher level functions instead of the internal microseconds