Login   Register  
PHP Classes
elePHPant
Icontem

germandate

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Peter Klauer  >  germandate  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: germandate
Base name: germandate
Description: Generates German date strings using date() syntax
Related classes: , , , , ,
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 555 users
All time rank: 4347
Week users: 0 users
Week rank: 2635
Country specific: This package is specific mainly for applications used in Germany Germany .
 

  Author  
Picture of Peter Klauer
Name: Peter Klauer <e-mail contact>
Packages: 18 Browse all classes by Peter Klauer Browse all classes by
Country: Germany Germany - PHP jobs in Germany
Age: 53
All time rank: 292 in Germany Germany
Week rank: 100 Down8 in Germany Germany Down
Innovation award
Innovation award
Nominee: 3x


  Detailed description  
Date() is a very good function to render date strings. But it is difficult to generate german date strings. This class uses the standard date() syntax and replaces the outputs for the D, l (small L), F and M format strings with the German counterparts. Note that the German short day format is only two chars long, not three. Monday is not Mon but Mo in short format "D". An example can be seen in the class heading comment. Use the standard date() syntax and have German date strings.

Date() ist eine sehr gute PHP-Funktion, wenn es darum geht, Datumsstrings zu erzeugen. Aber die Produktion von Deutschen Datumsstrings macht Probleme. Diese Klasse benutzt die Standard Date()-Syntax und ersetzt die Ausgaben für die D, l (kleines L), F und M - Formatstrings mit den deutschen Gegestücken. Beachten Sie, dass das deutsche Kurzformat für die Tagesbezeichnungen nur zwei Zeichen lang ist, nicht drei. Montag ist nicht Mon sondern Mo im Kurzformat "D". Ein Beispiel ist in dem der Klasse vorangestellten Kommentar zu sehen. Benutzen Sie die normale date()-Syntax um deutsche Datumsstrings zu erzeugen.

  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image Time and Date Time and date values, formats and conversion View top rated classes


  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (75.0%)
Good (81.2%)
-
-
-
-
Not sure (45.6%)
1753
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file germandate.php Class The class file. Demo call in heading comment.

Download all files: germandate.tar.gz germandate.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.