Days, Hours or Minutes Between Two Dates (or Now)

Community tag by ArtemKorneevGA

What is Days, Hours or Minutes Between Two Dates (or Now)?

The Template will return the amount of full days, hours, etc. between the first and the second date.

You can use this template for example to check if it is more than X days after previous event.

Days, Hours or Minutes Between Two Dates (or Now) variable is created by ArtemKorneevGA. Once you set up server side tagging with MetricsGate, you can use this variable with Google Tag Manager to enhance your data analytics.

This variable template is part of an open-source community, with its source code accessible on Github, and its documentation can also be found online.

You can check its version history below:

  1. Initial release.

More tags and variables supported

Tags

Variables