DateTime question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi,guys

I want to change a string datetime to long value.
and long to string datetime.

I have looked into the SDK.

It seem to use TypeConverter.ConvertTo method

But I am confused.

Would you minding tell me?

Thanks
 
long lValue = dateTimeValue.ToFileTime();
DateTime dt = DateTime.FromFileTime(lVal)
 
Back
Top