Jump to content

Recommended Posts

Posted

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

  • 2 weeks later...
Guest larsdennert
Posted

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:

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.