Re: [PHP] Finding num of days b/t two dates.

2001-12-07 Thread Steve Cayford
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

[PHP] Finding num of days b/t two dates.

2001-12-07 Thread Alex Fritz
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