Master Addons
  • Widgets
    • Changelogs
      Source Code NEW PRO
      Caldera Forms
      Logo Slider
      Table of Contents
      Gravity Forms
      Transforms PRO
      Restrict Content PRO
      Pricing Table
      Ninja Form
      Mailchimp
      Tooltip
      Popup Trigger NEW PRO
      Which Element NEW
      Creative Button
      Creative Links NEW
      Domain Search HOT PRO
      Dual Heading HOT
      Flipbox
      Animated Gradient BG HOT PRO
      Image Hotspot PRO
      Infobox
      News Ticker PRO
      Particles
      Progress Bar
      Off-Canvas Content NEW PRO
      Reading Progress Bar HOT
      Custom JS
      Blockquote
      Counter Up
      Image Hover Effects
      Reveal NEW PRO
      Rellax PRO
      Positioning
      Image Comparison
      Tabs
      Toggle Content HOT PRO
      Post/Page Duplicator FREE
      Floating Effects PRO
      Mega Menu HOT
      Custom CSS HOT
      Gradient Headline
      Advanced Image
      Nav Menu
      Tooltips
      Comparison Table PRO
      Glassmorphism
      Featured Product PRO
      Image Carousel
      Gallery Slider NEW PRO
      Dynamic Tags NEW
      Countdown Timer
      Current Time
      Patterns
      Wrapper Link
      Timeline
      Team Member
      Contact Form 7
      Advanced Accordion
      Animated Headlines
      Blog
      Business Hours
      Call To Action
      Progress Bars
      Background Slider
      Team Slider
      Dynamic Table
      Grid Line PRO
      WP Forms
      Search
      We Form
      Entrance Animation NEW PRO
      Display Conditions PRO
      Filterable Image Gallery
      WP Forms
      Custom Breakpoints NEW
  • Features
    • Theme Builder

      Design site-wide templates for a consistent look across every page of your website.

      Popup Builder

      Create engaging popups, modals, and announcement bars - to capture leads.

      Widget Builder

      Expand Elementor with advanced custom widgets to build more dynamic layouts.

      Mega Menu Builder

      Create multi-column menus with icons and images for superior navigation.

      Custom Css

      Apply your own CSS for pixel-perfect styling beyond default design options.

      Dynamic Tags

      Insert dynamic content like post titles and custom fields directly into designs.

      Display Conditions

      Control element visibility based on user role, device, time, and other rules.

      Icons Library

      Choose from thousands of built-in icons to enhance visuals and consistency.

      Animation

      Add scroll, hover, entrance, and much more animations to bring designs to life.
  • Template Kits
    • Template Kits

      Professionally designed full-page template Kit. Import and customize in seconds.

      Ready Sections

      Pre-built content sections and rows. Drag, drop, and customize instantly.

      Ready Popups

      Different types of High-converting popup designs. Import and launch quickly.

      Elementor Page Templates

      Complete page layouts for any purpose. Start editing immediately.

      Ready Header

      Multiple modern header designs. Import and adapt to your brand.

      Ready Footer

      Fully designed footers for different websites. Add functionality and style in clicks.
  • Brands
    • WP Adminify

      WP Adminify

      Take control of your WordPress dashboard. Customize the admin experience.
      Admin Bar Editor

      Admin Bar Editor

      Customize the WordPress admin bar for a cleaner, more personalized workspace.
      Loginfy

      Loginfy

      Customize your WordPress login page with branding, styles, and security enhancements.

      Rolemaster Suite

      Manage user roles and permissions with precision for better security and workflow.
      Master Blocks

      Master Blocks

      Expand the Gutenberg editor with advanced custom blocks for more creative layouts.
      WP Spotlight

      WP Spotlight

      Instantly search and access admin features, posts, and settings from anywhere.
  • Themes
  • Help
    • Get Support
    • Documentation
    • Facebook Community
    • Changelogs
  • Blog
Pricing
🇺🇸EN
  • 🇺🇸EN
  • 🇸🇦AR
  • 🇧🇩BN
  • 🇩🇰DA
  • 🇩🇪DE
  • 🇪🇸ES
  • 🇫🇷FR
  • 🇮🇳HI
  • 🇰🇷KO
  • 🇵🇹PT
  • 🇷🇺RU
  • 🇨🇳ZH

Getting Started

  • Can’t see the Master Addon Element inside Elementor Page editor?
  • How To Apply For an Affiliate Account?
  • Active Pro version
  • Installing Plugin

Addons

  • Popup Trigger Widget Settings
  • Off-Canvas Content Widget Settings
  • Logo Slider Widget Settings
  • Progress Bars Widget Settings
  • Image Carousel Settings
  • Featured Product Widget Settings
  • Comparison Table Widget Settings
  • Source Code Widget Settings
  • Advanced Image Widget Settings
  • Gradient Headline Widget Settings
  • Gallery Slider Settings
  • Toggle Content Widget Settings
  • Info Box Widget Settings
  • Timeline Widget Settings
  • Dynamic Table Widget Settings
  • Mailchimp Widget Settings
  • Blockquote Widget Settings
  • Changelog Widget Settings
  • Countdown Timer Widget Settings
  • Current Time Widget Settings
  • Search Widget Settings
  • Filterable Image Gallery
  • Team Slider Widget Settings
  • Counter Up Widget Settings
  • Restrict Content Settings
  • Table of Contents Widget Settings
  • Image Hotspot Widget Settings
  • Image Comparison Widget Settings
  • News Ticker Widget Settings
  • Image Hover Effects
  • Tabs Settings
  • Pricing Table Widget Settings
  • Nav Menu Widget Settings
  • Domain Search Widget Settings
  • Flipbox Widget Settings
  • Tooltip Settings
  • Creative Links Widget Settings
  • Business Hours Widget Settings
  • Contact Form 7 Widget Settings
  • Creative Button Widget Settings
  • Animated Headlines Settings
  • Advanced Accordion Widget Settings
  • Call to Action Widget Settings
  • Progress Bar Widget Settings
  • Blog Posts Widget Settings
  • Team Member Widget Settings
  • Dual Heading Settings

Extensions

  • Icon Library Settings
  • Mega Menu Settings
  • Which Element Extension Settings
  • Post/Page Duplicator Extension Settings
  • Grid Line Extension Settings
  • Glassmorphism Extension Settings
  • Tooltip Extension Settings
  • Wrapper Link Settings
  • Floating Effects Extension Settings
  • Dynamic Tags Settings
  • Display Conditions Extension Settings
  • Entrance Animation Settings
  • Custom Breakpoints Settings
  • Animated Gradient BG Extension Settings
  • Reveal Extension Settings
  • Particles Extension Settings
  • Background Slider Extension Settings
  • Transforms Extension Settings
  • Rellax Extension Settings
  • Positioning Extension Settings
  • Custom CSS Settings

Widget Builder

  • Conditions
  • Twig Syntax
  • Settings Panel Introduction
  • Divider
  • Text Shadow
  • Select2
  • Border
  • Heading
  • Tabs
  • Repeater
  • Visual Choice
  • Background
  • Dimensions
  • Box Shadow
  • Slider
  • Icons
  • Gallery
  • Media
  • Popover Toggle
  • URL Field
  • Date Time
  • Typography
  • Font
  • Color Field
  • Choose
  • Select
  • Switcher
  • Hidden
  • Code
  • WYSIWYG
  • Textarea Field
  • Number
  • Text Field

Theme Builder

  • Comment Form
  • 404
  • Search
  • Archive
  • Single
  • Footer
  • Header

Popup Builder

  • How to Open a Popup After Inactivity in Elementor
  • How to Show an Exit Intent Popup in Elementor
  • How to Open a Popup on Scroll to a Specific Element in Elementor
  • How to Open a Popup on Scroll in Elementor
  • How to Open a Popup on Click in Elementor
  • How to open a popup on page load?
  • Popup Settings & Options

Template Kit

  • How to Import Template Kits in Master Addons
  • How to Disable Elementor Default Fonts and Colors
  • Import Elementor Template Kits
View Categories
  • Home
  • Docs
  • Widget Builder
  • Date Time

Date Time

Roy Jemee
Updated on September 17, 2026

6 min read

The Date Time field adds a calendar picker to a custom widget you build with the Master Addons Widget Builder. Editors click the field in Elementor, pick a day and, if you allow it, a time. The widget gets the choice as a plain text value such as 2026-10-24 19:30, which you can print in the HTML or pass to a countdown script.

Date Time is a Pro field. The free plugin includes a limited Widget Builder, and the full set of fields comes with Master Addons Pro.

Date Time field settings in the Master Addons Widget Builder next to the Elementor date and time picker for an event countdown widget

What the Date Time field does #

  • Adds a date input to your widget’s panel in Elementor. Clicking it opens a calendar.
  • With Enable Time on, the calendar gets an hour and minute row underneath. The clock is always 24-hour.
  • Saves the picked value as text: Y-m-d H:i (for example 2026-10-24 19:30) with time, or Y-m-d (2026-10-24) without it.
  • Prints that value wherever you place its token, like {{ event_date }}, in the HTML, CSS or JS panel.

New to the builder? Read the Widget Builder overview first, then come back with a widget open.

Before you start #

  • WordPress with Elementor installed and active.
  • Master Addons for Elementor and Master Addons Pro, both active. The installation guide covers setup.
  • A widget open in the Widget Builder. The example in this guide is an “Event Countdown” widget: a Text field named event_title, a Date Time field named event_date, and a short script that counts down to that date.

How to add a Date Time field #

  1. Go to Master Addons > Widget Builder and open your widget.
  2. On the Content tab, add a section if there isn’t one yet, for example “Event”.
  3. Type date in the field search box on the left.
  4. Drag Date Time into the section. Click the pencil on the field to open its settings.
Date Time field found by searching date in the Widget Builder and added to the Event section

Date Time field options explained #

Date Time field options with Label, Name, Description, Enable Time, Minute Increment and Default Value
  • Label: the text next to the input in Elementor, for example “Event Date”.
  • Name: the field’s unique ID and the name of its token. Use letters, numbers and underscores only, for example event_date.
  • Description: a hint shown under the input in Elementor, such as “Pick the date and time the countdown ends.”
  • Enable Time: adds the hour and minute row to the calendar and switches the saved format from Y-m-d to Y-m-d H:i.
  • Minute Increment: how far the minutes move with each click of the arrows. The default is 1. With 15, the arrows step through :00, :15, :30 and :45.
  • Default Value: the date a new copy of the widget starts with.

The Default Value box opens the same calendar, so you pick the starting date instead of typing it. The time row appears here too when Enable Time is on.

Default Value input opening a calendar with a time row in the Widget Builder Date Time field settings

For a countdown, choose a default date in the future. A new widget then counts down right away instead of showing zeros.

Common settings #

Common settings for the Date Time field including Show Label, Label Block, Separator, Conditions and Selector
  • Show Label hides or shows the label in the panel.
  • Label Block puts the label on its own line above the input. Turn it on if your label is long.
  • Conditions shows the field only when another control has a certain value, for example a “Show countdown” switcher. See Conditions.
  • Separator draws a divider line before or after the control.

Responsive Control, Dynamic Support, Frontend Available, Control Classes and Selector appear on every field. You don’t need any of them for the setup in this guide, and the Selector can stay empty because a date picker doesn’t write CSS.

The picker has no options for a time-only clock or for blocking past dates. Editors can pick any day.

Use the date in your template #

Print the token wherever the date should appear. In the Event Countdown widget, the HTML puts the date in a line of text and in a data-deadline attribute that the script reads:

<div class="event-card">
  <p class="event-title">{{ event_title }}</p>
  {% if event_date %}
  <p class="event-when">Starts {{ event_date }}</p>
  <div class="event-countdown" data-deadline="{{ event_date }}">
    <span class="days">0</span>d <span class="hours">0</span>h <span class="mins">0</span>m
  </div>
  {% endif %}
</div>
Widget HTML printing the event_date token inside an if block and a data-deadline attribute

The {% if event_date %} check matters. If an editor clears the input, the token prints nothing. The Default Value is not used again, and without the check the countdown would show NaN.

Build a countdown in the JS panel #

The JS panel runs this script. It finds each countdown, turns the saved text into a date, and updates the numbers every 30 seconds:

document.querySelectorAll(".event-countdown").forEach(function (el) {
  var deadline = new Date(el.dataset.deadline.replace(" ", "T"));
  if (isNaN(deadline)) return;
  function tick() {
    var diff = Math.max(0, deadline - new Date());
    el.querySelector(".days").textContent = Math.floor(diff / 86400000);
    el.querySelector(".hours").textContent = Math.floor(diff / 3600000) % 24;
    el.querySelector(".mins").textContent = Math.floor(diff / 60000) % 60;
  }
  tick();
  setInterval(tick, 30000);
});
JS panel countdown script that reads the data-deadline value and skips empty dates
  • replace(" ", "T") turns 2026-10-24 19:30 into 2026-10-24T19:30, a format every browser reads the same way.
  • isNaN(deadline) stops the script when the date is empty or can’t be read.
  • Reading the value from a data attribute keeps each widget on the page counting down to its own date.

Tokens also work directly in the JS panel. In our tests, var deadline = "{{ event_date }}"; printed the saved date. Keep the quotes, because a bare date is not valid JavaScript.

The saved value has no time zone. The browser reads it as the visitor’s local time, so a countdown to 19:30 ends at 19:30 in London and again at 19:30 in New York. For one worldwide moment, add an offset to the string before parsing, for example 2026-10-24T19:30:00+00:00.

Use the Date Time control in Elementor #

Add the widget to a page, or reload the editor if the page was already open. The field sits on the Content tab under your label. Click the input to open the calendar, choose a day, then set the hour and minutes in the row below. The preview updates as soon as you pick.

Event Countdown widget in Elementor with the Event Date calendar open and the live countdown in the preview

The month name has a dropdown and the year is a number box, so moving months ahead doesn’t take a lot of clicks.

Common use cases #

  • Countdowns for launches, sales and webinars.
  • Event cards that show the date next to the title and venue.
  • Offer banners that a script hides once the deadline has passed.
  • Opening or closing times printed in a schedule widget.

Tips for working with the Date Time field #

  • Decide on Enable Time before editors use the widget. The format only changes for dates picked after you switch it. A value saved as 2026-10-24 19:30 keeps its time even after you turn Enable Time off.
  • Always handle an empty value. Wrap the markup in {% if %} and check for an invalid date in the script.
  • Plan for dates in the past. The example stops at zero. You could also hide the widget or show a “This event has ended” message.
  • Use a Minute Increment of 5, 15 or 30 for events that start on the hour or half hour.
  • Write a clear Description. Say whether the date is the start, the end or the deadline, so editors pick the right one.

Frequently Asked Questions #

Is the Date Time field free?

No. Date Time is one of the Pro fields in the Widget Builder, so Master Addons Pro has to be active before you can add it to a widget.

What format does the saved date use?

With Enable Time on, Y-m-d H:i, for example 2026-10-24 19:30. With it off, Y-m-d, for example 2026-10-24. The clock is always 24-hour.

Why does my countdown show NaN?

The date field is empty or the value can’t be read. Wrap the countdown in {% if event_date %} and skip the script when isNaN(deadline) is true.

Can I make a time-only picker or block past dates?

Not from the field settings. The Date Time field always shows a calendar, and editors can pick any day.

Can I use the token inside JavaScript?

Yes. Tokens work in the JS panel. Put the token in quotes, as in "{{ event_date }}", or read it from a data attribute in your HTML.

Wrapping up #

Add the Date Time field to a Content section, choose whether it needs a time, and print {{ event_date }} in your HTML or read it in the JS panel. Check for empty values and the widget holds up when an editor clears the date. Pair it with the Switcher field to let editors hide the countdown, and see pricing for what each plan includes.

What are your Feelings

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Still stuck? How can we help?

How can we help?

Updated on September 17, 2026
URL FieldTypography
Table of Contents
  • What the Date Time field does
  • Before you start
  • How to add a Date Time field
  • Date Time field options explained
    • Common settings
  • Use the date in your template
    • Build a countdown in the JS panel
  • Use the Date Time control in Elementor
  • Common use cases
  • Tips for working with the Date Time field
  • Frequently Asked Questions
    • Is the Date Time field free?
    • What format does the saved date use?
    • Why does my countdown show NaN?
    • Can I make a time-only picker or block past dates?
    • Can I use the token inside JavaScript?
  • Wrapping up

Join 30,000+ Web Creators Who Trust Master Addons

Get all the premium widgets and templates you desire, built with clean code that keeps your site fast. Ditch the bloat, not the features.

Try Live Demo
Join The Community
Master Addons for Elementor
Master Addons Logo

80+ Premium Widgets & Lifetime Updates – Build Beyond Limits. An Exclusive Creation by Pixar Labs

Facebook-f Twitter Youtube Wordpress
Features
  • Template kits
  • Template Library
  • Widget Builder
  • Theme Builder
  • Mega Menu Builder
Support
  • Support Forum
  • Contact US
  • Join Community
  • Blog
  • Video Reviews
Resources
  • My Account
  • Changlogs
  • Documentation
  • Video Tutorials
  • Toolz.dev
Navigate
  • Apply for Affiliate
  • Terms of Use
  • Refund Policy
  • Privacy Policy
  • About Us