Guest yves Posted July 19, 2004 Report Posted July 19, 2004 hi, I'm just waking around with POOM, and now I got some confusion. I used pContact->get_Birthdate() into a DATE variable, but I don't understand how I can use this variable type. how can I get the current date in DATE format, and how can I compare them, do some aritmetics, put them into a bstr? thanks very much for your help
Guest larsdennert Posted July 31, 2004 Report Posted July 31, 2004 I'm just browsing but and haven't developed CE stuff but on most platforms a date is encoded as a floating point number with the Date being the integer portion and the time being the fractional portion. Generally it is based as an offset from a particular date. Originally DOS encoded from 1/1/80 (the birth of the PC) That was revised with the development of Lotus 123 to allow earlier dates. In any case it allowed date/time variables to simply be subtracted to get the difference between them. How this info helps you, I have no idea. :shock:
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now