Does the creator of this forum board expect all members to be youngsters? I am not able to my correct age in my profile. For some reason I’m not able to make my birth date stick, as it allways reverts to 1969-12-31 - a bit more than 20 years away from my real birthdate.
-
☆ A M B ☆
- 24,524 Posts
Let this be an example of the results of using the wrong data type for date manipulation.
A UNIX timestamp is intended to be just that, a timestamp. If you are recording the date a certain document was created, or something similar such as the date a user registered, of course the date could not be before 1970, since no UNIX-based computer system was creating anything before then! So counting the number of seconds since a known date is useful for such things, and until 2036 or something like that it will serve such a purpose admirably.
But a timestamp is not a valid data type for storing actual dates. Shame on the SMF programmers for making such a fundamental error.
http://il.php.net/manual/en/ref.datetime.php
Quote from: sottwell at Nov 25, 2006, 10:04 AM
But a timestamp is not a valid data type for storing actual dates. Shame on the SMF programmers for making such a fundamental error.
Although at least it keeps the old people out!
Unfortunately, that includes me...
The cyber version of the Fountain of Youth.... what’s everyone complaining about
|
Identity Developments delivers SEO focused web design and web presence services
- it's not about websites, it's about your identity. |