Login
`
Templates, Tools and Utilities
|
||
![]() |
![]() |
Icetips Article
Back to article list
Search Articles
Add Comment
Printer friendly
Direct link
Par2: Converting VB dates 2002-05-30 -- Randy Rogers vb returns date/time as 8 byte float (real)
integer portion is date and decimal portion is time
negative values are dates prior to dec 30, 1899
for positive values:
int(vbDate) + 36161 = cwDate
and the time would be calculated as
cwTime = (vbDate - int(vbDate))* 8640000
**note a 1 might have to be added ... i'm not sure
Today is March 31, 2025, 12:00 pm This article has been viewed 35299 times.
|
|