Difference between revisions of "Time Epochs"

From truxwiki.com
Jump to navigation Jump to search
Line 34: Line 34:
  
 
=Unix Time=
 
=Unix Time=
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 clock ticks since 01 Jan 1970.
 
You will see this value in a variety of ticks.
 
You will see this value in a variety of ticks.
  
10 digits - The tick is a second
+
==Hints==
13 digits - The tick is a millisecond
+
The Unix epoch can be stored in several different clock ticks.
16 digits - The tick is a microsecond
+
{| class="wikitable"
The 64-bit integer version holds the number of milliseconds since 01 Jan 1970.
+
|-
 +
! Digits
 +
! Tick Units
 +
|-
 +
| style="text-align:center;" | 10
 +
| One Second
 +
|-
 +
| style="text-align:center;" | 13
 +
| One Millisecond
 +
|-
 +
| style="text-align:center;" | 16
 +
| One Microsecond
 +
|-
 +
| style="text-align:center;" | 19
 +
| One Nanosecond
 +
|}
  
 
=UUID=
 
=UUID=

Revision as of 06:17, 13 July 2025

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 clock ticks since 01 Jan 1970. You will see this value in a variety of ticks.

Hints

The Unix epoch can be stored in several different clock ticks.

Digits Tick Units
10 One Second
13 One Millisecond
16 One Microsecond
19 One Nanosecond

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.