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 15:29]: > On 05-Oct-2004 Bernhard Walle wrote: > > * 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. > > %e loescht eine fuehrende Null, %d laesst sie stehen. Schon, aber wozu brucht man %e und %d in einer Datumsangabe? Gruß, Bernhard -- "I might disagree with what you have to say, but I'll defend to the death your right to say it." -- Voltaire
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBYqVRiGU2lt2vZFQRAq1DAJ9c0XtV408xzahUz/1NvWBf3hilMgCcCim/ ZNP0WDpBdustXM1daHJ6wEI= =Pzq2 -----END PGP SIGNATURE-----