Reply to Re: [PHP] strtotime() bug?

Your name:

Reply:


Posted by Richard Lynch on 04/06/05 04:30

On Mon, April 4, 2005 3:14 pm, Al said:
> Suddenly my strtotime() are goofy, anyone have any ideas?
>
> echo date('Y/m/d/H', time()). "<br>"; //2005/04/04/18
> echo date('Y/m/d/H', strtotime("-1 day")). "<br>"; //2005/04/03/18
> echo date('Y/m/d/H', strtotime("last Sunday")). "<br>"; //2005/04/02/23
>
> Sunday shows as Saturday.

If the BIOS thinks you don't use Daylight Savings, but the OS thinks you
*DO* use Daylight Savings, but Locale thinks you don't use Daylight
Savings, but...

Or any variation on that theme.

This is just theory of what could be going wrong, without my delving too
deeply into what you typed...

--
Like Music?
http://l-i-e.com/artists.htm

[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

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