View Single Post
Old Nov 19th, 2007, 3:58 PM   #2
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Re: Problems with Date objects

You can deal with dates in a number of different ways. If you think hard enough and work hard enough, you can even deal with them correctly.

My approach is to convert evey date that is to be subjected to manipulation to a form that represents a a numerical value expressing time elapsed since some benchmark time in the past.

You, too, can do this. It doesn't much matter whether you read the material pertaing to VB, or to PHP, or to C, or to a non-language entity such as an operating system. Read, understand, adapt, and write.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote