Date Variable Formatting

Date Formatting

Any time you want to show a date, the variable must contain which date you want to show as well as the formatting codes. For example, to show the "entry date" you'll do this:

{entry_date format="%Y %m %d"}

The "format" parameter contains the variables that determine the formatting of the date. These variables use the MySQL syntax of the PHP date formatting codes, so the code letters are always preceded by a percent sign. For example:

Date Formatting Codes

Available date formatting codes: