Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Convert GPD times to unix time (Windows File Times, 100ms since 1601) 

        def filetime2unixtime(filetime):
    """ Convert GPD times to unix time (Windows File Times, 100ms since 1601) """
    return max(0, (filetime * 10**-7) - 11644505694L) # Convert 100s ms since 1601 to unix epoch
        


src/p/y/py360-HEAD/report360.py   py360(Download)
            self.output("Achievements unlocked %d / %d" % (title.achievement_unlocked, title.achievement_count))
            self.output("Gamerscore %d / %d" % (title.gamerscore_unlocked, title.gamerscore_total))
            self.output("Last Played: %s\n" % (time.ctime(xboxtime.filetime2unixtime(title.last_played))))
 
        self.output("\nSTRINGS")
                self.output("Not Unlocked")
            else:
                self.output("Unlocked time: %s" % (time.ctime(xboxtime.filetime2unixtime(ach.unlock_time))))
            self.output(" ")