you can't get
unix_timestamps or you can't get the
mysql date functions to work?
if you want to use unix timestamps (take a look at
FROM_UNIXTIME) just subtract the ints and you get the seconds between both dates.
if you want to utilize mysqls builtin stuff take a look at
DATEDIFF and the examples.
also: what did you try and why did it fail?
__________________