german weekday (4 posts)

  1. prefix
    Posted 12 years ago #

    morning :)
    by executing the function <?php the_date('d.m.Y','<h2>','</h2>'); ?> I'm not able to show also the weekday. I searched for the php-tag, but did not find it anyway, so that it would be ok :(
    I don't wont to usw <?php the_weekday(); ?>, because this would destroy my layout (and I wonna have the output of weekday and date in one string).
    thanks for your help

  2. drdave
    Posted 12 years ago #

    According to the doc:
    "D" (mind the cap) will display the day of the week in your local setting (German, provided your host is set up for German localization, otherwise, that can be set locally).

  3. prefix
    Posted 12 years ago #

    thx, in my way it was the small "l" (el) - found it exactly now on http://www.phpcenter.de/de-html-manual/function.date.html
    the "D" is the short display - thank you

  4. Root
    Posted 12 years ago #

    Just beside the date setting widget in WP admin there is a link to a full list of date styling variables.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.