Skip to content

Instantly share code, notes, and snippets.

@jipegit
Last active February 21, 2020 12:44
Show Gist options
  • Save jipegit/03c07d9228b12c6bdef1f8830b2938ac to your computer and use it in GitHub Desktop.
Save jipegit/03c07d9228b12c6bdef1f8830b2938ac to your computer and use it in GitHub Desktop.
Filesystems timestamps
M A C B D* A* Type
FAT X X X wFatDate (16bits) wFatTime (16bits)
NTFS X X X X FILETIME structure Contains a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601
EXT2/3 X X X X Unix EPOCH, a 32-bit value representing the number of seconds that have elapsed since January 1, 1970
Ext4 X X X X X Unix EPOCH, a 64-bit value representing the number of nanoseconds that have elapsed since January 1, 1970
XFS X X X X Unix EPOCH, a 64-bit value representing the number of nanoseconds that have elapsed since January 1, 1970
HFS+ X X X X Mac EPOCH, a 32-bit value number of seconds since midnight, January 1, 1904. The creation date stored in the Volume Header is in local time.
APFS X X X X X Unix EPOCH, a 64-bit value representing the number of nanoseconds that have elapsed since January 1, 1970

D*: Deleted time A*: Added to directory time

References :

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment