[memb_date]
Description
Outputs the current date and time formatted with any PHP date format
string, localized via date_i18n(). Supports the standard output
formatting attributes (before, after, capture, htmlattr,
txtfmt) for consistent display.
Shortcode Examples
[memb_date format="Y-m-d H:i:s"]
Human-friendly date:
Today is [memb_date format="l, F j, Y" before="" after="."]
Shortcode Parameters
format
PHP date format string. Default: 'Y-m-d H:i:s'.
before
Content prepended to the output. Default: ''.
after
Content appended to the output. Default: ''.
txtfmt
Text format applied to the output (e.g. upper, lower).
capture
Output capture mode.
htmlattr
HTML attribute wrapper for the output.
Shortcode Attributes
| Attribute | Value |
|---|---|
| Conditional | No |
| Nestable | No |
| Accepts formatting | Yes |