Converting number of seconds since 1/1/1970
How can I convert a value of number of seconds since 1/1/1970 into a real date?
Resolving the problem
The trick to this is to use the value and add it to the January 1, 1970 date.
Using the QnA tool, you can find this information, as in the following relevance questions:
Q: value "InstallDate" of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" of registry as string A: 1103661594
Q: "01 Jan 1970 00:00:00 -0000" as time + (value "InstallDate" of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" of registry as integer) * second A: Tue, 21 Dec 2004 12:39:54 -0800
Note: for more information regarding the use of the QnA utilty, please see the following knowledge base article:
Translate this page: