Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Funky cDate Conversions
Message
 
To
22/12/2000 10:50:36
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00455403
Message ID:
00456338
Views:
27
>Well I think it's reasonable to store the value as a number. This way, I think it's much easier to add 4 days, for example. I think the C structure for dates and time is the same, ie x days/seconds since ???.
>
>And of course that's why we'll have the year 2038 bug! :)
>
>But I agree that it doesn't make it easier for us programmers! :)
>
>>Funky for sure. Even that would mean the 1,012,001 day since the year 1785.
>>Which when added to that year, would equal around the year 4670. I constantly need to know how many days have elapsed since the year 1785 ;)


Starting in VB.Net, Date will not be store in a Double. This means that to deal with date, we will have to use DateAdd, DateDiff, ... and also means that we won't have the 2038 bug!
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Reply
Map
View

Click here to load this message in the networking platform