Re: date() function doesn't seem to work right...

From: Date: Mon, 01 Dec 2003 16:12:37 +0000
Subject: Re: date() function doesn't seem to work right...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-171483@lists.php.net to get a copy of this message
--- Scott Fletcher <scott@abcoa.com> wrote: > 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-- Either this is a bug, or you're misrepresenting your code. Did you try this with a test script that does nothing but echo each of these? If so, can you show us your exact code (copy and paste to eliminate typos) and exact output (same thing)? Chris ===== Chris Shiflett - http://shiflett.org/ PHP Security Handbook Coming mid-2004 HTTP Developer's Handbook http://httphandbook.org/

« previous php.general (#171483) next »