You are here: Re: date("m") question « All PHP « IT news, forums, messages
Re: date("m") question

Posted by robert on 09/28/50 11:48

"Martin Jay" <martin@spam-free.org.uk> wrote in message
news:i5l06pA3PEdEFwkm@spam-free.org.uk...
| In message <BWVcg.443815$ze.11832446@phobos.telenet-ops.be>, ivan
| <pc@moosewebdesign.com> writes
|
| >just one small question concerning 'previous month':
| >
| >the function date ("m") gives me the current month.
| >
| >So, date("m")-1 returns the previous month.
| >
| >But, if the current month is "01", will this return "12" or "00" ?
|
| '0' would be returned (1 - 1). :)
| --
| Martin Jay

martin,

you're about as useful as a wort on an ass...just not quite as smart!

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация