` Converting VB dates (Randy Rogers ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

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 November 21, 2024, 3:36 am
This article has been viewed 35214 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: