There’s no native “Time Interval” field type in ACF, but you could:
- Use a third-party custom field like the “Date Range Picker” provided by ACF Extended (it’s a commercial plugin that adds features to ACF).
- Use 2 distinct native Date Picker fields for “from” and “to”, possibly inserted inside a Group. You may take advantage of some existing snippets to display the value (example).
Related Posts:
- Get month and day from a Date Picker custom field
- Filtering a WP_Query meta_query by numeric values isn’t working
- Automatically fill custom field value on post publish/update
- Filter a custom field based on selection of another custom field (ACF) [closed]
- ACF Relationships in Custom Post Type Permalink
- How to sort a table of custom posts by column containing custom field
- WordPress Search documentation: how to improve search query using taxonomy terms, custom meta fields?
- How to sort CPT by custom meta value (date), and return posts month by month
- Use Custom Post Type as Custom Field
- Query current and future events, ordered by begin date
- Display posts if a custom field value is equal to another custom field value
- ACF Upload Image in repeater from front-end with custom form? – add_post_meta()
- Get Custom Field Values by Another Custom Field in WordPress
- How to Display ACF Relationship Custom Field as Link to Specific Custom Post?
- Query Custom Post Types by date (custom field) range
- Custom Post type and Custom Field WP_Query
- How to change post featured image using a custom field of category?
- Retrieve value of a category’s custom field
- How can I dynamically add a post to a custom post type which uses a custom field?
- Bulk Update Custom Fields for Custom Post Types
- WP_Query order by custom field, then randomly order some of results
- Query custom post type with ACF Date
- Meta Query Not Returning Output Despite Having Matching Values
- ACF From & To Date Validations
- Using advanced custom fields from one custom post type in another custom post type / using nested shortcodes
- How to render a custom post type template with custom fields using shortcode
- Order Custom Post Type by Custom Field Value
- Custom fields (wp_post_meta) vs Custom Table for large amount of data
- Meta Query posts not showing on ending date of custom field
- Multiple Frontend Filters Using Advanced Custom Fields
- Integrate Custom Post Type Events into Calendar
- Order post by date with ACF
- Displaying custom field according to date
- WebP Fallback for Inline Background Image in Style Attribute
- Query based on custom fields start and end date
- How to get a custom type post data when it has a connection with another custom type post?
- List of users that clicked a ‘Join’ button at single post
- How to inherit field value from parent post into in child / sub post
- Custome fields not displayed
- Sort custom post type by most current date picker
- posttype and custom fields on multisite
- How do I get_the_postID() for a custom post that uses ACF repeater field?
- How do I replace the post title with a custom field?
- Sum and count of custom field values
- Group by custom field value (start and end times)
- Custom post types, disable fields
- How to display a WordPress Custom Field only on a specific day of the week?
- Get A Custom Field From A Custom Taxonomy Of A Custom Post Type [closed]
- Using WP meta query to show custom post types by a start and finish date
- Excerpt length: get first paragraph
- Problem with date comparison for custom fields
- Having a repeating custom field in admin custom post type, what I’d go better with, for DB’s sake? ACF repeater or query a different post type?
- ACF – Retrieve custom taxonomy from a relationship field
- How to sort WP_Query by a custom text field (written as a date dd/mm/yyyy)
- Create if else for post types in WP_Query ‘post__in’ values
- Display Custom Field or Custom Taxonomy in front page /post/product
- How to access repeater field of a custom field?
- Filter posts by their related field’s custom field
- filter using custom fields
- Autofill advanced custom field with user data
- Advanced search form with multiple custom fields
- How do I display specific custom posts, and how do I edit a post’s singular page?
- Fixed custom fields depending on posttype/category
- Automatically convert standard posts with custom fields to custom post types
- Group/list/sort custom post type posts by date in tabs from acf datepicker field
- Can’t pick up a field created with Advanced Custom Fields
- Pre_get_posts comparison with custom field doesn’t work
- How to get past and upcoming post by defining date in custom field?
- How to display custom post type ordered by a custom field date
- using ACF datepicker to filter posts on a page
- Setting a custom $query->query_vars[‘meta_key’] breaks the WordPress menu
- If i have custom post type with 5 custom fields do i have to create a new loop to reference each one?
- How to show animal lineage/pedigree in WordPress?
- ACF – Query relationship without ID
- ACF Field to set Publish Date – Post Duplication upon Update
- Retrieve a post with its ACF repeater fields in wordpress
- Display ACF object field data using Elementor Custom Query
- Post object GUID adding http:/
- Custom Sort Order for Custom Post Type Taxonomy
- How to display *block number* instead *date value* on WordPress posts?
- Custom Taxonomy Template Post List with Sort Order
- Display Custom Post Type Fields
- WordPress query by multiple Custom fields and order by date
- Using ‘strtotime’ function to convert a custom-meta-box to a date-stamp
- Custom Post Types – How to include custom fields
- Bulk edit custom excerpt text in WordPress
- Search Custom Post Type Custom Fields
- “add_post_type_support” with Custom Post Type & ACF
- Problem fields custom date, time, and checkbox
- Custom Post Type + ACF and performance [closed]
- Store CPT ‘Reviews’ average ratings to a WordPress DB table or to a DB custom table?
- Why is wp api returning old acf values?
- Need to have an archive widget which organizes and displays a custom post type using a custom date field
- Display Posts Query with IF function
- Orderby custom fields is not working
- Looping through image object using ACF and CPT UI [SOLVED]
- Best way to have one product in both rental and sale parent category
- WP_posts (Not meta) extra custom field column show and change it in a custom post type
- Custom Fields as Post Type Options
- Adding a custom “Add Custom Field” button to Custom Meta boxes