note 33209 deleted from function.strftime by didou
| From: | didou@php.net | Date: | Thu, 19 Jun 2003 12:18:33 +0000 |
| Subject: | note 33209 deleted from function.strftime by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-50643@lists.php.net to get a copy of this message | ||
Note Submitter: krausedammann@NOSPAMweb.de
----
Hello everybody outthere using PHP ;-).
The examples
print "12/23/2004 - %V,%G,%Y = " .
strftime("%V,%G,%Y",strtotime("12/23/2004")) . "\n";
// Ausgabe: 12/31/2004 - %V,%G,%Y = 53,2004,2004
print "12/31/2004 - %V,%G,%Y = " .
strftime("%V,%G,%Y",strtotime("12/31/2004")) . "\n";
// Ausgabe: 1/2/2005 - %V,%G,%Y = 53,2004,2005
print "1/2/2005 - %V,%G,%Y = " .
strftime("%V,%G,%Y",strtotime("1/2/2005")) . "\n";
// Ausgabe: 1/3/2005 - %V,%G,%Y = 1,2005,2005
print "1/3/2005 - %V,%G,%Y = " .
strftime("%V,%G,%Y",strtotime("1/3/2005")) . "\n";
don't work on my web server with PHP 4.2.3. My server output is something like
12/23/2004 - %V,%G,%Y = ,,2004 12/31/2004 - %V,%G,%Y = ,,2004 1/2/2005 - %V,%G,%Y = ,,2005 1/3/2005
- %V,%G,%Y = ,,2005
Have fun,
Jan-Christian Krause