Reply to Re: date arithmetic

Your name:

Reply:


Posted by Steve on 12/06/06 15:47

<wesley@ispace.co.za> wrote in message
news:1165396587.542199.297030@73g2000cwn.googlegroups.com...
| Hi I have tried to use some of the functions you guys suggested. Some
| work fine but others like strtotime return results that i dont think
| are correct: This is what i have tried:
|
| echo strtotime('+ 1 month');
| The result is 1168074894

the result is the number of seconds since a beginning date (i believe
01-01-1970, iirc). you can see the results as i assume you expect, doing
this:

echo date('m-d-Y', strtotime('+1 month'));

[Back to original 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

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