sys(2015) Conversion back to System Date Time

I'm working on a project to do some analysis, and difference between versions of ClassLibraries (VCX/VCT), Screens (SCX/SCT), Projects (PJX/PJT), Etc...

I'm looking at the Uniqueid field which is a sys(2015) type of value, which is based on a given system date time. I've seen an article that explains how to reverse the value back to the date time, but I just can't find it anymore.

Can anyone help me with a sample of what I need for this conversion...

I'm looking at using this as an approximation of when a class in a vcx or object in an scx, etc., approximation as to when this record was created...

If anyone knows of a better way of determining when one of these records was added, I'm interested in it.

Additionally, I'm also needing to convert the timestamp field to a date time, where I've seen this article before also, and I'm looking at that one as far as when the record was last modified.

Please help...

[946 byte] By [TerryMontgomery] at [2008-2-23]
# 2
Also; take a look at Ted Roche's STAMP2DT program documented in VFP Hackers Guide (search for timestamp).
(of course I can't cut'n'paste the code - as it copyrighted)
Smile

Robbo.

Robbo at 2007-9-8 > top of Msdn Tech,Visual FoxPro,Visual FoxPro General...