Function 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.
You can pass the output from getDatetimeFromUnixTime directly into this function. Daylight Savings Time (dst), if present, is ignored.