PUBLIC DOCUMENTATION

Fields, content types and visual FSE editing with DMBB.

← All Help Topics
HOW TO USE · VERSION 9.5.0

Date & Time (Pro)

A local date-and-time picker.

Screenshots and walkthrough — expand to view

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 & Time field: builder settings, storage key and validation options.
Date & Time field: builder settings, storage key and validation options.
Date & Time field: sample controls in the content editor.
Date & Time field: sample controls in the content editor.
What it does Stores a local date and time without a timezone conversion.
Use it when Appointments, schedules, launches or event start times.
How to configure Select Date & Time. The browser supplies the picker.
Saved as A sanitized datetime-local string.
EXAMPLE

Launch Time

2026-09-15T18:30
Read a Date & Time 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.

$date_time = get_post_meta( get_the_ID(), 'your_meta_key', true );

if ( $date_time ) {
    $date = new DateTime( $date_time );
    echo esc_html( $date->format( 'Y-m-d H:i' ) );
}
The value is stored as a datetime-local string. Use DateTime when you need formatting, comparison or calculations. Security: Escape the value for its output context; do not print unescaped post meta directly into HTML.

Documentation for Dynamic Meta Box Builder 9.5.0.