datetime_to_UnixTime

DatesTimes.datetime_to_UnixTime(t)

Converts a Python datetime object to a UNIX timestamp.

Since t is a datetime object considered to be in the timezone of the user, the dst flag is changed to prevent dst conversion.