RE: [PHP] date() function doesn't seem to work right...
| From: | Thijs Lensselink | Date: | Mon, 01 Dec 2003 15:45:15 +0000 |
| Subject: | RE: [PHP] date() function doesn't seem to work right... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-171475@lists.php.net to get a copy of this message | ||
Scott Fletcher wrote on maandag 1 december 2003 16:41:
When I do this script, I didn't get a ":" and numbers in second.
: --snip--
: date("Y-m-d H:i:s");
: --snip--
:
: But when I do this script by adding a period to it, it worked
: okay. --snip--
: date("Y-m-d H:i:s.");
: --snip--
:
: Thanks,
: Scott
On my Unix box running php 4.2.3 the output is this:
2003-12-01 16:25:06
2003-12-01 16:25:06.
Looks good to me!