Interesting date
- From: Gunnar G <debian@xxxxxxxxx>
- Date: Mon, 05 Feb 2007 10:39:20 GMT
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.
.
- Follow-Ups:
- Re: Interesting date
- From: Toby A Inkster
- Re: Interesting date
- From: Kimmo Laine
- Re: Interesting date
- Prev by Date: Re: Best text search for many Gigabyte Database?
- Next by Date: Re: Best text search for many Gigabyte Database?
- Previous by thread: How to get UTF8 octets?
- Next by thread: Re: Interesting date
- Index(es):