Times of day.
t
represents a clock-face time of day. Usually this is equivalent to a time-offset
from midnight, and each t
occurs exactly once in each calendar day. However, when
daylight savings time begins or ends, some clock face times (and therefore t
's) can
occur more than once per day or not at all, and e.g. 04:00 can occur three or five
hours after midnight, so knowing your current offset from midnight is *not* in general
equivalent to knowing the current t
.
(See Zone for tools to help you cope with DST.)
Smallest valid ofday. There is no exposed end_of_day value because the upper end of the range is not closed.
Due to a circular reference, this declaration is found in time.mli.
val now : zone:Zone.t -> t
trailing seconds and subseconds are trimmed off if they are 0
trailing milliseconds are trimmed
with milliseconds