Help converting from VB6

jjjamie

Freshman
Joined
Aug 30, 2002
Messages
34
Location
England
I am trying to convert some code from VB6 to VB.NET and I have it all working apart from one line...

lDate = CLng(ChkDate) ' Convert date to Number

For July 20th, 2003 the above line gives 37823. Does anyone know what is the equivalent .NET code?
 
Back
Top