Created
September 28, 2016 15:56
-
-
Save steve-jansen/c7bf58e17884ff84ab881fea678da4dc to your computer and use it in GitHub Desktop.
Convert a Windows FILETIME value to a localized date string
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 131194047065676512 is an example FILETIME value | |
ruby -e 'puts Time.at((Integer(ARGV[0]) - 116444736000000000) / 10000000)' -- 131194047065676512 |
Author
steve-jansen
commented
Sep 28, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment