My suspicions are that Windows (and I read thsi somewhere) interprets that string, parses it out and uses it...
But now that is has two "01"'s in it and the date on the right hand side my suspicion is that it's Windows parsing it wrong.
I haven't changed the code in two years, same 3 functions have been used to check the clock since I first wrote that program...albeit the program has never been DONE but it has the functionality already..
So it's Windows interpreting that string "01-01-21 15:36:00 blah blah" in the VarDateFromStr api call, and it's pretty ambiguous but Windows does the best it can..
I can't see any other explanation, this has always worked.
And maybe it's just that I'm the only one using the string instead of the julian date..
Do you have a sample of how to convert a julian date to a SYSTEMTIME STRUCTURE????
Might be a good time to change....

Scott
------------------
Scott
mailto:[email protected][email protected]</A>
Leave a comment: