This is a discussion on RE: [PHP] date() function doesn't seem to work right... within the PHP General forums, part of the PHP Programming Forums category; Scott Fletcher wrote on maandag 1 december 2003 16:41: When I do this script, I didn't get a &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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! |
|
|||
|
Okay thanks... I'll do a workaround for now until PHP get upgraded in the
near future. "Thijs Lensselink" <TLensselink@factotummedia.nl> wrote in message news:A306A04842B1D311BA280050DA699620DA39E5@nt-vivenda.fm.local... > 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! |