note 14204 added to function.strftime.php

From: Date: Sun, 22 Jul 2001 09:33:20 +0000
Subject: note 14204 added to function.strftime.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-15661@lists.php.net to get a copy of this message
Beware of '%D': the comment shown expects that this is the same as '%m/%d/%y'. This is wrong: '%D' is only expected to returned an abbreviated numeric date according to the current locale: In the German locale '%D' is '%y.%m.%d' In the French locale '%D' is '%d/%m/%y' The locale rules still apply to %D as with '%A'... Beware that some C libraries do not support '%D' and/or '%A' or do not support them accordingly. Using strftime() is then system-dependant, because PHP use the C function provided by the system on which it runs. http://www.php.net/manual/en/function.strftime.php

« previous php.notes (#15661) next »