def epoch_time_offset_from_win32_filetime(filetime):
 if (filetime < WIN32_EPOCH):
  raise ValueError(('filetime (%d) is before epoch (%d)' % (filetime, WIN32_EPOCH)))
 return divmod((filetime - WIN32_EPOCH), 10000000L)[0]

def epoch_time_offset_from_win32_filetime ( filetime ) : if ( filetime < WIN32_EPOCH ) : raise ValueError ( ( 'filetime (%d) is before epoch (%d)' % ( filetime , WIN32_EPOCH ) ) ) return divmod ( ( filetime - WIN32_EPOCH ) , 10000000 L ) [ 0 ]
convert from win32 filetime to seconds-since-epoch value .