Clock.fromDate

Convert Date fields to Time

Note that the conversion is limited by the underlying OS, and will fail to operate correctly with Time values beyond the domain, which is 01-01-1970 on Linux. Date is limited to millisecond accuracy at best.

struct Clock
static
Time
fromDate
(
ref DateTime dt
)

Meta