def unixtimestamp(ts):
    return calendar.timegm(ts.utctimetuple())
unixtimestamp converts a datetime.datetime to a UNIX timestamp.
dataset/ETHPy150Open williballenthin/python-ntfs/examples/mount/mount.py/unixtimestamp