Possible Duplicate:
How to Compare Dates in php?
I have these two dates
1305004066
1305007443
I want to compare which one is later on than other. How can I do that
Possible Duplicate:
How to Compare Dates in php?
I have these two dates
1305004066
1305007443
I want to compare which one is later on than other. How can I do that
If it's UNIX timestamps (seconds since 1970-01-01), the largest one is the latest:
$latest = max($time1, $time2);