Reply to Re: how can I use getdate(...) excluding TZ.

Your name:

Reply:


Posted by Chung Leong on 05/02/07 21:13

On May 2, 6:36 pm, FFMG <FFMG.2py...@no-mx.httppoint.com> wrote:
> Chung Leong;62646 Wrote:
>
>
>
> > getdate(time() - (2*3600)) perhaps?
>
> Yes that would work for the current time.
>
> But as mentioned in my OP that will not work for 1/1/1970
> you cannot do
>
> >> $date = getdate( 0 - (2*3600) );
> >> as negative numbers are not accepted, (on the window server).
>
> Regards.
>
> FFMG
>
> --
>
> 'webmaster forum' (http://www.httppoint.com) | 'webmaster Directory'
> (http://www.webhostshunter.com/) | 'Recreation Vehicle insurance'
> (http://www.insurance-owl.com/other/car_rec.php)
> 'Free URL redirection service' (http://urlkick.com/)
> ------------------------------------------------------------------------
> FFMG's Profile:http://www.httppoint.com/member.php?userid=580
> View this thread:http://www.httppoint.com/showthread.php?t=14320
>
> Message Posted via the webmaster forumhttp://www.httppoint.com, (Ad revenue sharing).

Sorry. Wasn't reading carefully.

As there is no GMT version of getdate(), I think you'll need to obtain
each component of the date using gmdate().

[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

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