Function
mechanize._msiecookiejar.epoch_time_offset_from_win32_filetime

Signature

epoch_time_offset_from_win32_filetime(filetime)

Documentation String

Convert from win32 filetime to seconds-since-epoch value.

MSIE stores create and expire times as Win32 FILETIME, which is 64 bits of 100 nanosecond intervals since Jan 01 1601.

mechanize expects time in 32-bit value expressed in seconds since the epoch (Jan 01 1970).