note 91641 rejected from function.date by danbrown

From: Date: Sun, 21 Jun 2009 03:35:06 +0000
Subject: note 91641 rejected from function.date by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-157188@lists.php.net to get a copy of this message
Note Submitter: pkedpker at gmail dot com ---- in the example of using date() with strings a few failures occurred that I noticed are errors on the example page. <? $today = date('H:m:s \m \i\s\ \m\o\n\t\h'); // 17:03:18 m is month ?> you simply can not show the t in month. I tried this <? echo date("i \m\i\n\u\t\e\s", time()); ?> but the \n is used for new line and \t is used for tabbing so there is no way to express those letters.. But this is just to show the error in the example.

« previous php.notes (#157188) next »