Hey all,
    I am having some interesting, but confusing results when I use date().
What is confusing me is that when I use date with only the first argument, I
get some interesting results with the timezone.

i.e.
<?php
  echo date("r T");
?>

You would expect to see something like this:

Fri, 11 Oct 2002 13:24:53 -0500 Eastern Standard Time

But instead everything is off by an hour while still keeping the current
timezone:

Fri, 11 Oct 2002 13:24:53 -0400 Eastern Standard Time (notice the -0400
instead of -0500)

Is there something I can do to fix this problem, a setting in the php.ini
file perhaps.  The machine that is running the server is set to the proper
timezone (-0500 EST).

I am running W2K, IIS5 with PHP 4.2.3.

Thanks,


  _________________
 / Joshua Minnie    \
+                    +-------------------------------+
| Advantage Computer Services, LLC                   |
| Senior Project Manager                             |
| [EMAIL PROTECTED]                                    |
|                                                    |
| Tel : 269.276.9690                                 |
| Fax : 269.342.8750                                 |
+----------------------------------------------------+



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to