Skip to content
⌘ NSIS Forum Archive

Registry Timestamp Format?

3 posts

nsnb#

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#
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))