Mac HFS+ Timestamp Converter

Convert Mac HFS+ timestamp (seconds since 1904) to human-readable date

This script converts Apple Mac OS X HFS+ timestamps to normal dates.
An HFS Plus-timestamp is the number of seconds since midnight, January 1, 1904, GMT.

These timestamps are also used by Apple iPod's, Palm OS, JMP/JSL datetime and others.

The current Mac timestamp is 3799051974

Enter your Mac timestamp below:


Please note: To convert seconds since 2001 see: Cocoa Core Data Timestamp (or 'Mac absolute time')

Programming routines

The difference between the Unix timestamp epoch (1970) and the Mac timestamp epoch (1904) is 2082844800 seconds. Current timestamp in PHP:

$currenttimestamp = 2082844800+time();