MySQL Time +24 hours
View Single Post
02-08-2008, 04:21 PM
Join Date: Jan 2008
Unless I'm mistaken, or have mistyped something, I'm sure this is what you're after. The timestamps are stored in seconds, though not a strictly integer format mind you, so convert to seconds and compare the difference. This won't work for times in the future versus the current time though, as they'll always turn out to be negative.
Programmers are in a race with the Universe to create bigger and better idiot-proof programs, while the Universe is trying to create bigger and better idiots. So far the Universe is winning.
- Rich Cook
The Following User Says Thank You to RobertK For This Useful Post:
View Public Profile
Send a private message to RobertK
Find More Posts by RobertK