def WinFileTimeToDateTime(filetime):
 return (NULL_FILETIME + datetime.timedelta(microseconds=(filetime / 10)))

def WinFileTimeToDateTime ( filetime ) : return ( NULL_FILETIME + datetime . timedelta ( microseconds = ( filetime / 10 ) ) )
take a windows filetime as integer and convert to datetime .