date() function doesn't seem to work right...
| From: | Scott Fletcher | Date: | Mon, 01 Dec 2003 15:41:24 +0000 |
| Subject: | date() function doesn't seem to work right... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-171473@lists.php.net to get a copy of this message | ||
Hi Everyone!!!
I noticed that date() function act a little funny, so I am wondering if
anyone of you have noticed this problem or not. I'm just curious because I
wanna know if it is my issue or is it a general issue for everyone. I'm
using PHP version 4.2.3 on Unix machine. Please don't ask me to upgrade to
newer version because I don't have much time for it.
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