OSSingleton.getUnixTimeFromDatetime

Get an epoch time value from a dictionary of time values. datetime must be populated with the following keys: year, month, day, hour, minute, second. You can pass the output from getDatetimeFromUnixTime directly into this function. Daylight savings time (dst), if present, is ignored.

struct OSSingleton
@nogc nothrow const
long
getUnixTimeFromDatetime
(
in Dictionary datetime
)

Meta