DateTime Database Fields in PHP4
| From: | Fred von Graf | Date: | Mon, 15 Nov 1999 05:30:55 +0000 |
| Subject: | DateTime Database Fields in PHP4 | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-6233@lists.php.net to get a copy of this message | ||
We are creating a web site that displays database records using PHP4.
When we print a field value that is a Date/Time type it shows up with
multiple "Z" characters after the formatted date/time. Such as:
Jan 7 1999 12:00AMZZZ
At present we are using Microsoft SQL Server 7.0 SP1 on NT 4 SP 6 and
a RedHat Linux 6.1 box running Apache 1.3.9 and PHP4 beta2 as the backend.
I believe we also had this problem with MySQL, but I'm not certain. We are not
doing anything fancy in the PHP.
Has anyone else had this problem or know why this is occurring? Any
information would be appreciated.
Thanks!