> In COM you can only use the standard DateTime value, which is indeed
> double under the hood - the integer part is the number of days since Jan
> 1, 1900 and the fractional part is the time of the day.
> There are numerous functions that convert COM date/time to just about
> anything else (FILETIME, etc).
>
> Dmitry Streblechenko (MVP)
>
http://www.dimastr.com/> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
>
> "Sharanga Dayananda" <sharanga[ at ]gmail.com> wrote in message
> news:uOd9vdtnHHA.4624[ at ]TK2MSFTNGP04.phx.gbl...
>> Hi
>>
>> An Outlook::_MailItem object in the Outlook object model supports a
>> method called put_DeferredDeliveryTime()
>>
>> To set the value for this structure in C++ the put method requires a DATE
>> object. I don't seem to be able to figure out what this structure is.
>> <wtypes.h> seems to define this as a double.
>>
>> I expected the actual value in the MAPI directory structure to be a
>> PT_SYSTIME.
>>
>> How can I set this value? If it is a double, how do I calculate what
>> value to set for a Gregorian date?
>>
>> Cheers
>> Sharanga
>>
>>
>
>