Date & Time Picker for Advanced Custom Fields
This is an add-on for Advanced Custom Fields and Advanced Custom Fields Pro , which allows to create a Date and Time Picker field. Features Create a date and time picker field Create a time picker field (without a date) Two time picker types: slider (only in ACF 5 – looks better) and dropdown list (
This is an add-on for Advanced Custom Fields and Advanced Custom Fields Pro , which allows to create a Date and Time Picker field.
Features
- Create a date and time picker field
- Create a time picker field (without a date)
- Two time picker types: slider (only in ACF 5 – looks better) and dropdown list (takes less space)
- Define date and time format for each field
Compatibility
This ACF field type is compatible with ACF 5 (Pro) and ACF 4.
Credits
The plugin uses Timepicker Addon for jQuery UI Datepicker by Trent Richardson , licensed under the MIT license.
Icon made by SimpleIcon from Flaticon is licensed by CC 3.0 BY .
- 01Copy the acf-date-time-picker folder into your wp-content/plugins folder
- 02Activate the Date & Time Picker for Advanced Custom Fields plugin via the plugins admin page
- 03Create a new field via ACF and select the Date & Time Picker type
- 04Please refer to the description for more info regarding the field type settings
Frequently asked questions.
How do I format the time?
You can format the time by creating a mask using the following characters:
H Hour with no leading 0 (24 hour) HH Hour with leading 0 (24 hour) h Hour with no leading 0 (12 hour) hh Hour with leading 0 (12 hour) m Minute with no leading 0 mm Minute with leading 0 s Second with no leading 0 ss Second with leading 0 t a or p for AM/PM T A or P for AM/PM tt am or pm for AM/PM TT AM or PM for AM/PM
The default time format is HH:mm .