Small count up problem
-
Hi all
I can’t get the following thing to work:
I want to see the number of days between startdate and postdate.This works (hardcoded) (being “January 29, 2008” the startdate and “april 1, 2008” the postdate
$numberdays = intval((strtotime('april 1, 2008') - strtotime('January 29, 2008'))/86400); echo $numberdays
But I cant get it to work with the actual date of the post?!
Thanks in adcance
Jelle
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Small count up problem’ is closed to new replies.