note 8842 added to strftime
| From: | ted at tedpavlic dot com | Date: | Sun, 01 Oct 2000 03:32:22 +0000 |
| Subject: | note 8842 added to strftime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5707@lists.php.net to get a copy of this message | ||
How come I'm getting this on any PHP4 system I use:
strftime( "%c", mktime( getdate() ) );
Sat 30 Sep 2000 01:24:00 AM EDT
system("date +%c");
Sat 30 Sep 2000 11:24:00 AM EDT
The actual time is 11:24, like the date command returns. However, I'm getting 01:24 from
strftime. This occurs with any format I try.
http://www.php.net/manual/function.strftime.php