You are not logged in. You can browse in the PowerBASIC Community, but you must click Login (top right) before you can post. If this is your first visit, check out the FAQ or Sign Up.
Scott Turchin
MCSE, MCP+I http://www.tngbbs.com
---------------------- True Karate-do is this: that in daily life, one's mind and body be trained and developed in a spirit of humility; and that in critical times, one be devoted utterly to the cause of justice. -Gichin Funakoshi
Yes, in the function description below it, it also stated "This also applies for Windows 95/98/2000"...
2) In the OLE APIs VarDateFromStr() and VarBstrFromDate() there is an ambiguity between their treatment of 2-digit years. OLE has standardized on an interpretation whereby it assumes that 2-digit years lie in the range 1930-2029 (i.e. it interprets 1/1/30 as 1/1/1930 and 1/1/29 and 1/1/2029). This is the range used by the VarDateFromStr() function which converts a string date into an internal unambiguous data format. This is the same behavior as Windows NT and Windows 95.
I'm stuck and my head hurts, I'd rather use this function than the j ulian date function which REALLY hurts my head trying to calculate hehe
Scott
------------------
Scott
[This message has been edited by Scott Turchin (edited February 21, 2001).]
Scott Turchin
MCSE, MCP+I http://www.tngbbs.com
---------------------- True Karate-do is this: that in daily life, one's mind and body be trained and developed in a spirit of humility; and that in critical times, one be devoted utterly to the cause of justice. -Gichin Funakoshi
Let me also note that this function worked PROPERLY in 1999, in 2000 it stopped working.
Scott
------------------
Scott
Scott Turchin
MCSE, MCP+I http://www.tngbbs.com
---------------------- True Karate-do is this: that in daily life, one's mind and body be trained and developed in a spirit of humility; and that in critical times, one be devoted utterly to the cause of justice. -Gichin Funakoshi
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, and to analyze site activity. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment