Cf_clockfaceCivil time in the 24-hour digital clock face notation.
This module implements record types inhabited by 24-hour digital clock face indications. It also provides related functions and types to facilitate conversion to and from various formats for data interchange.
val create : hour:int -> minute:int -> second:int -> timeUse create ~hour ~minute ~second to create a 24-hour clock time value according to the ~hour, ~minute and ~second parameters. Raises Invalid_argument if the time specified is not a valid clock time. A clock time with second = 60 is only valid when minute = 59 (as leap seconds may appear only at the end of an hour).
val to_seconds : time -> intUse to_seconds t to convert the time to an integer number of seconds since midnight (without counting any preceding leap seconds).