Theme Press
Formatted Date Macro Parameters and Key
Formatted Date macro key and configuration options.
Key
Parameter | Description | Expected Input | Example Value(s) |
---|---|---|---|
Date | The date (YYYY-MM-DD) to display. Options: blank = today, @created = page creation date, @modified = last page modification date. | Text string |
|
Format | A date format string. Options: blank = friendly date format. | Text string | dd/MMM/yyyy |
If using a built-in date such as @current or @modified, you can also add a time format to the Format field.
For example:
Date = @created
Format = yyyy-MM-dd hh:mm:ss
Output = 2019-11-12 09:44:58