Posted by Gunnar G on 02/05/07 10:39
I'm trying to compute the date 250 days ago and I get this
$now = getdate(strtotime("now"));
$old = getdate(strtotime("-250 days"));
and I get right now with
$old["mon"] and $old["mday"]
31 june. Well, that doesn't sound right.
Can you spot the error?
--
I didn't know sci.bio.paleontology was that low traffic until I tried read
the thread "Where is everyone?" and found it to be expired.
Navigation:
[Reply to this message]
|