[SOLVED] File attribute showing random numbers?

I added a file to a folder and I'm running a macro that's trying to get the date added and the date created.

Finder shows me this information:
Date added: Jan 14, 2024, 3:47 pm
Date create: Jan 7, 2019, 11:31 am

KM shows me this:
Date added: 1705247258
Date created: 1546860686

I don't see how those are related.
Can someone explain what those numbers are?

Your values seems to be displayed in Unix epoch time format, as in displaying number of seconds since 00:00:00 UTC, January 1st, 1970. Link to the wiki: UnixTime

Adding your numbers in this conversion calculator gives very sensible date time values: epochconverter.com

1 Like

If you want to display the unix time in a readable format use %ICUDateTimeFor%, like this...

Screenshot 2024-01-14 at 16.28.04

...setting the display format to what you want to see. The KM Wiki gives the details in the Dates and Times section.

2 Likes

I was about to comment that, because @Alexander only pointed out the issue, not the solution to convert it (I still appreciate the clarification, because it was not making much sense).

Thanks you for sharing, Roger. And thanks for clarifying, Alexander. :raised_hands:

2 Likes