[snip] data like: 20040928170708 20040916163619 etc
Anybody have a function for this? or can help? am a bit confused because reading on google I see that there are 2 possible problems as MySql has its own time and PHP its own time (most of the time!).... [/snip] http://www.php.net/date http://www.php.net/time You jsut have to accept how MySQL stores a dattime stamp, if you know how to read it you can manipulate with several time/date functions in PHP. Taking one of your stamps above... 20040916163619 2004-09-16 16:36:19 Then you can test to see if 16:36:19 if greater than or less than 24 hours ago.... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php