Difference between revisions of "Time Epochs"
| Line 6: | Line 6: | ||
! Epoch | ! Epoch | ||
! Type | ! Type | ||
| + | |- | ||
| + | | <code>15 Oct 1582</code> | ||
| + | | [[#UUID|UUID Type 1]] | ||
|- | |- | ||
| <code>01 Jan 1601</code> | | <code>01 Jan 1601</code> | ||
| Line 33: | Line 36: | ||
This is a 32-bit integer holding the number of seconds since 01 Jan 1970. | This is a 32-bit integer holding the number of seconds since 01 Jan 1970. | ||
The 64-bit integer version holds the number of milliseconds since 01 Jan 1970. | The 64-bit integer version holds the number of milliseconds since 01 Jan 1970. | ||
| + | |||
| + | =UUID= | ||
| + | A [https://www.rfc-editor.org/rfc/rfc4122#section-4.1.4 60-bit integer] holding the number of 100-nanosecond clock ticks since 15 Oct 1582. | ||
=Windows COM= | =Windows COM= | ||
Revision as of 04:47, 22 June 2024
Here's some of the time formats that Truxton can handle. Wikipedia has a better list. The Truxton software uses FILETIME for all time calculations.
| Epoch | Type |
|---|---|
15 Oct 1582
|
UUID Type 1 |
01 Jan 1601
|
Windows FILETIME Chrome |
30 Dec 1899
|
Windows COM |
01 Jan 1970
|
Unix Time Firefox |
01 Jan 2001
|
Apple |
Apple Cocoa Core
Cocoa Core (aka NSDate) is the number of seconds (32-bit value) since 01 Jan 2001. The 64-bit version is the number of nanoseconds since 01 Jan 2001.
Chrome
Chrome stores the time as a 64-bit integer representing the number of microseconds since 01 Jan 1601.
Firefox
Firefox (PRTime) stores the time as a 64-bit integer representing the number of microseconds since 01 Jan 1970.
Unix Time
This is a 32-bit integer holding the number of seconds since 01 Jan 1970. The 64-bit integer version holds the number of milliseconds since 01 Jan 1970.
UUID
A 60-bit integer holding the number of 100-nanosecond clock ticks since 15 Oct 1582.
Windows COM
Windows COM stores date time in a double (floating point) number representing the number of days since 30 Dec 1899.
Windows FILETIME
A 64-bit integer containing the number of 100-nanosecond clock ticks since 01 Jan 1601.