Re: Monat ohne fuehrende Null

Bernhard Walle <[email protected]>
Newsgroups gmane.linux.suse.programming
Message-ID <[email protected]>
* Heinz W. Pahlke <[email protected]> [2004-10-05 14:09]:
> 
> Aber eigentlich reichte es auch aus, wenn die Monate als Zahlen
> ausgegeben wuerden. Doch print strftime "%e. %d %Y" setzt die Monate
> immer zweistellig, also ggfs. mit einer fuehrenden Null. 

welche Programmiersprache überhaupt? Also nach meinen Informationen
geben %e und %d beide den Tag aus, also verstehe ich das Format nicht.

Ich bevorzuge das ISO-Format %Y-%m-%d. Kompakt, eindeutig, inter-
national und in Listen/Dateinamen automatisch richtig sortiert.


Gruß,
Bernhard

-- 
Erst wenn der letzte Baum gerodet, der letzte Fluss vergiftet, der letzte 
Fisch gefangen ist, werdet ihr feststellen, dass man Geld nicht essen kann.
	-- Indianische Weisheit
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBYptLiGU2lt2vZFQRAgD4AJ4scHOwaL99AmyGjyzAeYlkersdqgCfaVTp
0FmNzmTdrcCFcjMwvlpE+nM=
=d9Cn
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.