Screenshots use sample data and English labels. Follow the translated instructions on this page; your theme, language, permissions and license can change the available controls. Select an image to view it at full size.
Date field: builder settings, storage key and validation options.Date field: sample controls in the content editor.
What it doesStores a date in YYYY-MM-DD format.
Use it whenEvents, deadlines, publication dates or anniversaries.
How to configureSelect Date. Use a default such as 2026-09-15 if required.
Saved asA sanitized date string.
EXAMPLE
Event Date
2026-09-15
Read a Date Field in PHP
Use the field Key from the builder as the second argument of get_post_meta(). Escape or sanitize the value for its final output context.
The value is stored as a date string. For date calculations, convert it to a DateTime object or another appropriate date representation. Security: Escape the value for its output context; do not print unescaped post meta directly into HTML.