demo

Christmas countdown with Forms

Use Date distance from a specific date to use it in the expression to calculate your total

Expression:

([field id=”christmas”] – [field id=”date”]) / 86400

use this expression on your Calculator field to obtain the number of days between two Date fields.

Tip: you can use Dynamic Tag Twig on Date field “Default value” to generate a dynamic date