Convert 4-byte VB6 Date to VB.net datetime type
Hi,
i have a file generated by vb6 wich store some records with a 4-byte date field. i want to know how to read it from vb.net
thanks
diego
[154 byte] By [
dcoscio] at [2008-2-20]
If I recall correctly, in vb6 dates were basically stored as a double value - assuming that is the case, you can read them as a double and use the
"FromOADate" Method to Convert the value to a VB .Net date.