Here's one way to do it by converting dates into timestamps.
\n");
print(strftime("date 2 is %b %d, %Y", $date2) . "\n");
print("the difference in seconds is " . $timedif . "\n");
print("the difference in days is " . ($timedif / (60 * 60 * 24)) .
"\n");
?>
-Steve
On Friday, December 7, 2001, a
If somebody could help me with this, it would save me a lot of heartache. I
thought that this would be simple, but I can't seem to find a function
anywhere in PHP that has this capability and I can't seem to find any
external libraries for anything actually. I need to be able to give PHP a
start
2 matches
Mail list logo