Mailinglist Archive: opensuse-programming-de (187 mails)

< Previous Next >
Re: Monat ohne fuehrende Null
  • From: Bernhard Walle <Bernhard.Walle@xxxxxx>
  • Date: Tue, 5 Oct 2004 15:44:49 +0200
  • Message-id: <20041005134449.GB8758@xxxxxxxxxxxxxxx>
* Heinz W. Pahlke <h.pahlke@xxxxxxxx> [2004-10-05 15:29]:
> On 05-Oct-2004 Bernhard Walle wrote:
> > * Heinz W. Pahlke <h.pahlke@xxxxxxxx> [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
< Previous Next >