nsnb
25th March 2009 00:11 UTC
Registry Timestamp Format?
Not purely an NSIS-only issue, but I came across this when read a registry value using NSIS:
Last used time: 50 73 51 7e 71 9e c9 01
Any idea how to interpret this timestamp? Is there an NSIS built-in function or plugin to convert it to some known format (human readable or otherwise)?
Thanks.
Anders
25th March 2009 00:19 UTC
FILETIME, use FileTimeToSystemTime (with the system plugin) to convert to a SYSTEMTIME, it has day,month etc
or
do the math on your own, FILETIME is a 64 bit number (100-nanosecond intervals since January 1, 1601 (UTC))
nsnb
25th March 2009 00:45 UTC
Thank you very much, Anders. :)