ifacethoughts

weekday

WordPress uses weekday global variable to access, exactly what it says, names of the weekdays. It is a one dimensional array set in the file [wordpress root folder]/wp-includes/locale.php. It stores localized values. Additional global variables like weekday_initial, weekday_abbrev, month, month_abbrev are also defined.

WordPress uses weekday internally. WordPress provides following functions, defined in [wordpress root folder]/wp-includes/template-general-functions.php for use within the loop:

The weekday can be accessed by using the format options specified here

Back to full list of global variables.

Technorati tags:

Discussion [Participate or Link]

  1. Abhijit Nadgouda @ iface » Blog Archive » weekday_abbrev said:

    [...] weekday [...]

  2. Abhijit Nadgouda @ iface » month said:

    [...] Just like weekday, WordPress uses month global variable to store the month names. It is a single dimensional array set in [wordpress root folder/wp-includes/locale.php]. It stores the localized values of the month names. [...]

  3. references» Blog Archive » Wordpress Global Variables said:

    [...] $weekday [...]

  4. WordPress Global Variables | iFansClub said:

    [...] $weekday [...]

Say your thought!

If you want to use HTML you can use these tags: <a>, <em>, <strong>, <abbr>, <code>, <blockquote>. Closing the tags will be appreciated as this site uses valid XHTML.

freshthoughts

contactme

Abhijit Nadgouda
iface Consulting
India
+91 9819820312
My bookmarks

badgesand...

This is the weblog of Abhijit Nadgouda where he writes down his thoughts on software development and related topics. You are invited to subscribe to the feed to stay updated or check out more subscription options. Or you can choose to browse by one of the topics.