Anyone come across the MacOSDate within the PlayCounts.plist on the iPhone?
"Mac Dates" tend to be a floating point number which is the seconds since Jan 1st 2001. Try that, see if it makes sense!
I used DCode with Mac Date and got INVALID DATE. Tried knocking the end digit off then got a random date.
As AlexC says, the Mac times tend to be from 01/01/2001 or at least with the 'Mac Absolute Time' that I have come across this was the case.
To convert the times I used a pretty basic process within excel of converting the 01/01/2001 to an epoc time (3187468800) and added this to the extracted time stamp (also in seconds). I then divided this by 86400 and formatted the cells in the dd/mm/yyyy hhmmss format. The results were manually verified using dcode and the Mac Absolute Time converter however I wanted a formula that would work within excel for multiple extracted time stamps.
I used DCode with Mac Date and got INVALID DATE. Tried knocking the end digit off then got a random date.
Could you post an example of the date format?
I used DCode with Mac Date and got INVALID DATE. Tried knocking the end digit off then got a random date.
Could you post an example of the date format?
3371884758
So as you can see there is one extra digit but if i trim either side I get a random date.
The value is an integer from the playcounts plist.
Could be the old MacOS epoch which is 1904/01/01?
That gives you 2010/11/06 103918 - does that seem more reasonable?
Could be the old MacOS epoch which is 1904/01/01?
That gives you 2010/11/06 103918 - does that seem more reasonable?
Indeed!
(Weirdly this epoch hasn't really been used since os9…)
Hi all,
do you know if on IPhone/Ipod the Playcounts.plist record the timestamps in seconds since 01/01/1904 UTC+0 and then manually we have to add the timezone or in that number the timezone is included?
E.G. If I have
<key>playMacOSDate</key>
<integer>3425616668</integer>
this number is the the seconds since 01/01/1904 and then I have to add the timezone of my Country or in that number the timezone is included automatically by the system, has been read from the device time set?
Thanks