The Datetime Rule – FirePlugins

The Datetime Rule

The Datetime rule is great when you need to display your popup for a very specific period of dates and time. You can select, with precision to the minute, when exactly should the popup start being displayable and when exactly it should stop.


In the table below you can see which options are available to setup the Datetime Rule.

Start DatetimeEnter the date to start publishing
End DatetimeEnter the date to end publishing

Use Case

The most common use case for the Datetime Assignment is when you have a popup that contains a certain that is only relateable to a very distinct part of the Year such as the Christmas Period or the Summer in general.

Useful Notes

In case you type in the date wrong, once you save the Publishing Rule, the option will try to correct itself.

For example, if you type 2018-02-30 00:00, after saving you will notice that it has been changed to 2018-03-02. That is because you added two days to February which aren’t there. Therefore the end result is two days into March.

Also, if you leave the Start Datetime blank then the popup will start being displayable immediately. If you leave the End Datetime blank then the popup will never stop being displayed. If you leave both of them blank, then the popup will always be displayed.

Finally, you should know that the date which will be used for comparison is the one your server uses. Take a look on How to change your site’s Timezone

Was this helpful?