How can I convert the variant into date??
_variant_t vTDate;
// Get the date from database
vTDate = rst->GetCollect(L"TDATE");
/*
From the result I got,
vTDate = {21/03/2001 12:00:00 AM VT_DATE}
vTDate.date = 36971.000000000
*/
Please help![]()
|
Results 1 to 3 of 3
Threaded View
|
Click Here to Expand Forum to Full Width |