views:

37

answers:

1
COleVariant var(bstrString);    
var.ChangeType(VT_DATE);    
DATE date = var.date;

not seems to be working. Any ideas will be appreciated. Thanks.

+1  A: 

Hi

What is happening?

Maybe VarDateFromStr function works for you.

Best

Vagaus