Mac HFS+ Timestamp Converter. Enter a Mac HFS+ timestamp (seconds since January 1, 1904) into the HFS+ Timestamp field and get back the corresponding human-readable date and time in UTC. You can also convert in reverse — enter a calendar date and time to get the HFS+ numeric timestamp. Useful for digital forensics, file system analysis, and working with classic Mac OS, iPod, Palm OS, or JMP/JSL datetime values. Also try the Event Time in UTC — Event Time Announcer.
Results
Human-Readable Date (UTC)
--
Equivalent Unix Timestamp
--
HFS+ Timestamp from Entered Date
--
Days Since HFS+ Epoch (Jan 1, 1904)
--
Years Elapsed Since 1904 Epoch
--
Chart
Results Table
Mac HFS+ Timestamp Converter lets you instantly translate cryptic Mac file system timestamps—those mysterious seconds since midnight, January 1, 1904, GMT—into a human-readable date and time. Whether you're investigating digital artifacts in legacy Apple operating system file systems, comparing forensicats across devices, or trying to sync Apple data formats for development or legal review, getting a precise date from a raw timestamp is essential. With this converter, you can finally bridge those decades-old time gaps, making sense of bits from Mac partitions, persistent object stores, and more. If you've ever wondered exactly what moment in history a Mac HFS+ timestamp represents, this tool provides the clarity and accuracy you need—converting complexity into actionable insight.
Understanding Mac HFS+ Timestamp Origins and Absolute Time Systems
What is HFS+ and Mac Absolute Time?
The Mac HFS+ timestamp format is rooted in Apple’s Hierarchical File System Plus (HFS+), an outdated but still-encountered file system used in older Apple devices, including early Apple OS X computers and Apple iPods. In HFS+, every time a file is created, modified, or accessed, a number representing the seconds since midnight, January 1, 1904, GMT is stored. This date—midnight, January 1, 1904—serves as the system’s epoch, or zero-point in time.
Origin/Epoch:midnight, January 1, 1904, GMT
Unit:Seconds (represented in 32-bits)
Format: Typically decimal, but can be expressed as hexadecimal (Apple Mac HFS+ (Hex))
Big Endian/Little Endian: Normally big endian, but always check device documentation
Every stored value in this system is a 32-bit unsigned integer, incrementing once for every second that passes. This encoding makes it relatively simple to calculate large time spans and align with consistent Greenwich Mean Time timekeeping.
Key Differences: HFS+, UNIX, and Apple Core Data
It’s easy to confuse various Apple and POSIX time formats, given the similar structure but different epoch dates and units. Let’s distinguish them clearly:
Please note:UNIX timestamps use the 1st January 1970 epoch, while Mac Absolute Time (including Cocoa absolute field and Persistent Store) use midnight, January 1, 2001, GMT. The difference between HFS+ and UNIX epoch is 2,082,844,800 seconds.
Working with the Mac Timestamp Converter Tool
Input Formats and Seconds Handling
This mac hfs+ timestamp converter supports many input types, including Apple Mac HFS+ (decimal or hexadecimal), Apple Mac HFS+ (Hex) (big or little endian), UNIX time value (decimal or hex), Persistent Store (seconds or fractions of a second), CFAbsoluteTime, and others often found in forensics or analysis work. The handling of timezones is critical for forensic accuracy.
Input Type
Bit Size
Expression
Input Example (Decimal/Hex)
Mac HFS+
32-bit unsigned integer
Decimal / Hex
3471552000 / 0xCFDB8900
Unix Seconds Format
32-bit unsigned integer
Decimal / Hex
1641859200 / 0x61D7D780
Apple Mac Absolute
64-bit float
Seconds (decimal) / Fractions
808493770 / 808493770000000000
Persistent Store Field
64-bit float or int
Seconds (decimal) / Fractional Seconds
532850000 / 532850000000000000
Property List
Varies
Decimal/Hex
635257200
Seconds since 1904: The traditional Mac HFS+ timestamp format (number of seconds)
Seconds since 2001: Used by Apple Mac Absolute, Persistent Store, and Cocoa absolute
Fractions of a second: Supported for persistent store / Cocoa times
Customizing Date Formats, Output, and Preferences
With the converter, you have several options to control your output and ensure results fit your workflow. These settings ensure accurate interpretations for both wall clock time and Coordinated Universal Time, as well as various date formats.
Option
Description
Default Value
Time Zone
Choose between wall clock time and Coordinated Universal Time
UTC
Input Format
Auto-detects decimal, hex, or binary
Decimal
Endianess
Select Big or Little Endian for hexadecimal input (apple mac hfs+ (hex))
Big Endian
Output Date Format
Customize date string—e.g., YYYY-MM-DD HH:MM:SS
ISO 8601
Display Options
Show/hide raw bits, decimal, hex value, etc.
Show All
For advanced users, matching date/time format or referencing 32-bit POSIX (hex) may be enabled in settings. Convert values into binary to analyze bits and byte order in forensic workflows.
Comprehensive Time Converter Table and Practical Examples
Conversion Table: Seconds, Nanoseconds, and Date Formats
Understanding how a mac hfs+ timestamp relates to its normal date involves mapping the value (decimal or hex) to a known date. The table below demonstrates this cross-system mapping, crucial for Apple OS forensics, network privacy checks, or interoperability across file systems and property list records.
Input Type
Timestamp Value
Unit
Output Date
Description
Mac HFS+ (decimal)
3471552000
Seconds
2014-01-01 00:00:00 UTC
3471552000 seconds since January 1, 1904
Mac HFS+ (hex)
0xCFDB8900
Seconds
2014-01-01 00:00:00 UTC
Same as above, hexadecimal expression
Persistent Store Seconds
410246400
Seconds
2014-01-01 00:00:00 UTC
Seconds since midnight, January 1, 2001
Persistent Store Fractions
410246400000000000
Fractions
2014-01-01 00:00:00 UTC
Fractional seconds since midnight, January 1, 2001
UNIX
1388534400
Seconds
2014-01-01 00:00:00 UTC
Seconds since January 1, 1970, 00:00:00 UTC
Notice that the same date can be arrived at by converting different time values depending on their epoch date, unit, and expression (hex, decimal, or fractions). Consult the above chart as a versatile reference tool for everyday translation needs.
Step-by-Step Example: Converting an HFS+ Timestamp to Human-Readable Date
Let’s translate a real-world Mac HFS+ value—3471552000—to a normal date and time string, using the tool’s logic. To handle timezones accurately, confirm the value’s intended context:
Identify the input type and value: HFS+ value, decimal value, 3471552000
Apply the epoch formula: $$\text{Date} = \text{midnight, January 1, 1904, GMT} + \text{number of seconds}$$
Programming Snippets: Fractions and Date Conversion
Automating time translation is vital for scripting, analysis, and automation. Below are ready-to-use code snippets for mac hfs+ and persistent store time translation in Python and shell scripts for handling the number of seconds and fractions of a second:Python: Convert HFS+ Timestamp to Normal Date
# HFS+ to UNIX: unix = hfsplus - 2082844800
hfsplus=3471552000
unix=$((hfsplus - 2082844800))
date -u -d @${unix} # Output: Wed Jan 1 00:00:00 UTC 2014
Expression summary:
HFS+ (seconds since 1904): $$\text{Date} = \text{1/1/1904 00:00:00 GMT} + N \text{ seconds}$$
UNIX Time (seconds since 1970): $$\text{Date} = \text{1/1/1970 00:00:00 UTC} + N \text{ seconds}$$
Apple Mac Absolute/Persistent Store/Absolute Time (seconds since 2001): $$\text{Date} = \text{1/1/2001 00:00:00 UTC} + N \text{ seconds}$$
Decimal vs. Hexadecimal Input Example
Input Format
Value
Output (Date)
Decimal
3471552000
2014-01-01 00:00:00 UTC
Hexadecimal
0xCFDB8900
2014-01-01 00:00:00 UTC
As shown, the value may be expressed as hex or decimal, but the date result will be the same if the representation matches the original bits. The number of seconds since January 1, 1904 must be properly counted from the correct epoch for an accurate normal date.
Online Tool to Convert Date and Time: Support, Feedback & Further Resources
Getting Help with Mac HFS+ Timestamp Converter Tools
Need assistance with unusual time formats, choosing a date format, or interpreting the output? Our support team is dedicated to helping users of standalone time translation tools and forensicating tools—online or offline. You can get in touch via:
Support email or web contact form
Public repository files (for open source script feedback and bug tracking)
Community forum or GitHub Issues (contribute or request feature changes)
Contributors, Repository Access, and Further Reading
Interested in contributing to the development or customization of this dating tool? Here’s how to get involved and keep up with the latest commit information:
Repository
Languages
Contributors
Last Commit
History
timestampconverter.app / GitHub
Python, Shell, JavaScript
Community & Maintainers
2024-06-01
File & update history available
Browse folders and files for details about the file structure
Track the latest commit to stay updated
Review past discussions for common translation routines
Contribute code, suggest encoding/decoding tools, or share scripting ideas
Upgrading to a modern Apple OS? Please note: the mac hfs+ timestamp system is considered outdated for active use, but remains critical for reading legacy file systems and investigating forensic evidence. Need a one-liner PHP or Python script for batch translation of time values to formatted date strings? Check repository code samples or get in touch for automation support through the internet where anonymity is valued.
What is a Mac HFS+ timestamp?
A Mac HFS+ timestamp is the number of seconds elapsed since midnight, January 1, 1904, UTC. It is used by Apple's HFS and HFS+ file systems, as well as classic Macintosh computers, iPods, Palm OS, and JMP/JSL datetime values. It is typically stored as a 32-bit unsigned integer. See also our calculate Days, Hours & Minutes — Years to Days/Hours Converter.
What is the epoch date for HFS+ timestamps?
The HFS+ epoch is midnight (00:00:00) on January 1, 1904, UTC. This is different from the Unix epoch, which starts on January 1, 1970. The difference between the two epochs is exactly 2,082,844,800 seconds.
How do I convert an HFS+ timestamp to a Unix timestamp?
Subtract 2,082,844,800 from the HFS+ timestamp to get the Unix timestamp. For example, an HFS+ value of 3,855,993,079 minus 2,082,844,800 equals 1,773,148,279 as a Unix timestamp. This offset accounts for the 66-year difference between the two epochs.
What is the maximum date supported by a 32-bit HFS+ timestamp?
A 32-bit unsigned HFS+ integer can hold values up to 4,294,967,295, which corresponds to approximately February 6, 2040, UTC. After this date, the 32-bit value would overflow, similar to the Unix Year 2038 problem. You might also find our Zulu Time (UTC) Converter useful.
Are HFS+ timestamps stored in UTC or local time?
HFS+ timestamps can be stored in either UTC or local time depending on the implementation. Apple's HFS+ file system traditionally stores timestamps in local time on older systems, but modern macOS and forensic tools typically interpret them as UTC. Always verify the timezone context when analyzing timestamps.
Which other systems use the 1904 epoch besides HFS+?
Besides Apple's HFS and HFS+ file systems, the 1904 epoch is used by classic Mac OS (System 1 through Mac OS 9), Apple iPod devices, Palm OS, LabVIEW, JMP/JSL datetime values, and some ZIP file extensions such as the Info-ZIP Macintosh extensible data field 0x334d.
How do I get the current Mac HFS+ timestamp in PHP?
In PHP, you can get the current HFS+ timestamp by adding the epoch offset to the current Unix time: $currenttimestamp = 2082844800 + time(); This works because time() returns the current Unix timestamp, and adding 2,082,844,800 converts it to the HFS+ epoch base.
What is the difference between HFS+ timestamps and Cocoa/Mac absolute time timestamps?
HFS+ timestamps count seconds from January 1, 1904, while Cocoa Core Data (Mac absolute time) timestamps count seconds from January 1, 2001. They are different formats used in different Apple contexts — HFS+ is for the file system, while Cocoa absolute time is used in macOS and iOS application frameworks like Core Data.