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