Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
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 November 21, 2024, 6:38 am This article has been viewed 35215 times.
|
|