Code Comments
Programming Forum and web based access to our favorite programming groups.Hi,
I do something like this:
$month = date('m', strtotime('2004-09-30 +5 months'))
This give me 03 (March), but 09 (September) + 5 months should give me 02
(February)
It's bug or I thing wrong?
--
Dawid Szałęga
Post Follow-up to this message30 february doesn't exist ;)
Dawid Szałęga wrote:
> Hi,
> I do something like this:
> $month = date('m', strtotime('2004-09-30 +5 months'))
>
> This give me 03 (March), but 09 (September) + 5 months should give me 02
> (February)
>
> It's bug or I thing wrong?
>
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.