Search code examples
iostimestampunix-timestamp

Convert apple time stamp to Unix time


I have a JSON file with a timestamp from an apple device that reads:

"timestamp":584507086.00054193

I want to convert it to other readable formats

Edit answer:

The format is called "Apple Cocoa Core Data timestamp". Added my answer bellow.


Solution

  • Ok I found a solution here:

    https://www.epochconverter.com/coredata

    This format is called "Apple Cocoa Core Data timestamp" made by apple

    You just need to add +978307200 seconds to convert it to Unix