RE: [PHP] date() function doesn't seem to work right...

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 &...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-01-2003
Thijs Lensselink
 
Posts: n/a
Default RE: [PHP] date() function doesn't seem to work right...

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!
Reply With Quote
  #2 (permalink)  
Old 12-01-2003
Scott Fletcher
 
Posts: n/a
Default Re: [PHP] date() function doesn't seem to work right...

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!

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:59 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0