OSSingleton.getUnixTimeFromDatetime

Gets an epoch time value from a dictionary of time values. datetime must be populated with the following keys: year, month, day, hour, minute, second. If the dictionary is empty 0 is returned. If some keys are omitted, they default to the equivalent values for the UNIX epoch timestamp 0 (1970-01-01 at 00:00:00 UTC). 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