I've made some progress.
Convert DATE to TimeStamp.
Convert TimeStamp to Variant.
winDate " a DATE(12:00:00 AM, Thursday, June 01, 2000) "
stDate := winDate asTimeStamp.
stDate " TimeStamp : 12:00:00 AM, Thursday, June 01, 2000"
varFromStDate := stDate asVariant.
varFromStDate " a VARIANT(date: a DATE(12:00:00 AM, Thursday, June 01,
2000)) "
So I've gone from TimeStamp to Variant.
How do I get from Variant to DATE?
In article <935f8l$9eq$
[hidden email]>,
[hidden email] wrote:
>
>
> Greetings,
> I'm doing database work with ADO wrappers from the
> 'Microsoft ActiveX Data Objects 2.5 Library' library
> I don't understand how to work with the DATE datatype.
> I'll need to generate a date in dolphin and compare it
> to DATE's from the database. The DATE class is defined
> in the ActiveX Automation package.
>
> A C++ method to set a DATE is:
> COleDateTime::SetDateTime
> int SetDateTime( int nYear, int nMonth, int nDay, int nHour, int nMin,
> int nSec );
>
> Thanks
>
> Sent via Deja.com
>
http://www.deja.com/>
Sent via Deja.com
http://www.deja.com/