We were getting close to releasing our first Beta of v2 of our Date / Time Calculator for Windows – ESBDateCalc Pro – when someone pointed out that it would be good to have the Unix time stamp and the Mac time stamp. Since this product is based around the new Calendar classes of our in-development ESBDevLib for VCL/FMX, I decided we would wait a bit and do more updates to the underlying library.
After a bit of digging I also found that there was the Apple Cocoa Core Data time stamp – so why not add that as well. Here are all the numeric versions for Time Stamps:
So the bottom 3 are the new ones that were just added, and are defined as follows:
Unix Time: being seconds since the start of 1 January 1970 (UTC).
Mac (ie Apple Macintosh) Time: being seconds since the start of 1 January 1904 (UTC).
Apple Cocoa Core Date Time: being seconds since the start of 1 January 2001 (UTC).
Currently these don’t fit as easily into the existing ESBPCS for VCL – but if we receive enough demand we could add it back to that as well – let us know 🙂
In case you were wondering, we do have string-based time stamps with both-ways conversion also: