HFS/HFS+ timestamp

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{FormatInfo |formattype=electronic |subcat=Elements of File Formats |released=~1985 }} '''HFS/HFS+ timestamp''' is a timestamp format associated with the HFS and HFS+...")
 
(Category:Date and time formats)
 
(One intermediate revision by one user not shown)
Line 4: Line 4:
 
|released=~1985
 
|released=~1985
 
}}
 
}}
'''HFS/HFS+ timestamp''' is a timestamp format associated with the [[HFS]] and [[HFS+]] filesystems, and classic Macintosh computers. It appears in some file formats, for example [[ZIP]] extensible data field 0x334d (Info-ZIP Macintosh).
+
'''HFS/HFS+ timestamp''' is a timestamp format (or, two variants of a timestamp format) associated with the [[HFS]] and [[HFS+]] filesystems, and classic Macintosh computers. It appears in some file formats, for example [[ZIP]] extensible data field 0x334d (Info-ZIP Macintosh).
  
It has been called by many other names, including '''Apple timestamp''', '''Mac OS timestamp''', and '''HFS time'''; though confusion may exist due to conflation of timestamp ''formats'' with timestamp ''epochs''.
+
It may be called by other names, including '''Apple timestamp''' and '''Mac OS timestamp'''; though confusion may exist due to conflation of timestamp ''formats'' with timestamp ''epochs''.
  
 
It is the number of (non-leap) seconds since the beginning of 1904. This date is the standard epoch for classic Macintosh computers.
 
It is the number of (non-leap) seconds since the beginning of 1904. This date is the standard epoch for classic Macintosh computers.
  
It is usually stored as a 32-bit unsigned integer, in which case it can represent dates from about 1904-01-01 to 2040-02-06.
+
It is usually stored as a 32-bit unsigned integer, in which case it supports dates from about 1904-01-01 to 2040-02-06.
  
It could be in universal time (UTC), or in local time (perhaps with a separate field for the timezone offset). Reportedly, it is in local time for HFS, and UTC for HFS+.
+
It could be in universal time (UTC), or in local time (perhaps with a separate field for the timezone offset). It is normally in local time for HFS, and UTC for HFS+.
  
In UTC, it differs from [[Unix time]] by 2082844800.
+
If it is in UTC, it differs from [[Unix time]] by 2082844800.
  
 
== Links ==
 
== Links ==
 
* [https://www.epochconverter.com/mac EpochConverter: Mac HFS+ Timestamp Converter]
 
* [https://www.epochconverter.com/mac EpochConverter: Mac HFS+ Timestamp Converter]
* [[Wikipedia: Epoch (reference date)]] - Search for "January 1, 1904", for examples of things that might use this format or a similar format
+
* [[Wikipedia: Epoch (reference date)]] - Search for "1904", for examples of things that might use this format or a similar format
  
 +
[[Category:Date and time formats]]
 
[[Category:Macintosh]]
 
[[Category:Macintosh]]

Latest revision as of 15:00, 23 July 2017

File Format
Name HFS/HFS+ timestamp
Ontology
Released ~1985

HFS/HFS+ timestamp is a timestamp format (or, two variants of a timestamp format) associated with the HFS and HFS+ filesystems, and classic Macintosh computers. It appears in some file formats, for example ZIP extensible data field 0x334d (Info-ZIP Macintosh).

It may be called by other names, including Apple timestamp and Mac OS timestamp; though confusion may exist due to conflation of timestamp formats with timestamp epochs.

It is the number of (non-leap) seconds since the beginning of 1904. This date is the standard epoch for classic Macintosh computers.

It is usually stored as a 32-bit unsigned integer, in which case it supports dates from about 1904-01-01 to 2040-02-06.

It could be in universal time (UTC), or in local time (perhaps with a separate field for the timezone offset). It is normally in local time for HFS, and UTC for HFS+.

If it is in UTC, it differs from Unix time by 2082844800.

[edit] Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox