"Dave" <overkil6@cogeco.ca> wrote in message
news:QuLOd.21758$m22.8552@read1.cgocable.net...[color=blue]
> Hey folks,
>
> I'm moving from ASP to PHP and I must say that on using this for only a[/color]
day[color=blue]
> it is MUCH simpler to get things going. Already have made a VERY basic[/color]
blog[color=blue]
> site for myself in a very short period of time. Anyhow I have a datetime
> issue:
>
> On my blog site I capture the date like this: $date=date("Y-m-d g-i-s");
>
> When I display this date later it is 2 hours being my time. I'm guessing
> that the servers are somewhere in the mid west - I am in the EST time[/color]
zone.[color=blue]
> Can anyone help me correct this so that I either capture the time[/color]
proplerly[color=blue]
> or display it in my zone?
>
> Thanks,
> Dave
>
>[/color]
$date=date("Y-m-d g-i-s", time() + 120);
--
Project Wapache -
http://wapache.sourceforge.net