|
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
Navigation:
[Reply to this message]
|