Converting Date

yraykar

Freshman
Joined
Oct 13, 2003
Messages
42
Hai Guys,

I was upgrading a VB 6.0 program written to retrieve the date of the beginning of week like monday. There i was able to subtract 7 days from a date and keep it as long in a variable.

Nut here how do i convert the date to long.

Please help me.

Or if there is a way to retrieve the date of the beginning of week
please tell me

Kindly do me a favour.

Regards
yraykar
 
You can use the ToFileTime and FromFileTime methods of the DateTime object to go to and from a long value.
 
Re

Hai V F


Thanks for the reply. I got the solution for the problem.

Thanks again

Regards

yraykar
 
Back
Top