Browse Snap-ins
date-difference
Date Difference Calculator
by DevRev
Categories
Automation

A workflow node for calculating the time difference between two dates with comprehensive format support and auto-detection.

Features

  • Auto-format detection
    Automatically detects and parses multiple date formats.
  • Time support
    Handles dates with or without time components.
  • Multiple units
    Returns differences in milliseconds, seconds, minutes, hours, days, weeks, months, or years.
  • Flexible input
    Supports relative dates, Unix timestamps, and common date formats.
  • Human-readable output
    Provides user-friendly descriptions of time differences.

Installation

  • Add the node in the workflow after a ticket created or ticket updated trigger.
  • Pass the Start Date and End Date.
  • Choose the Unit to return.
  • Use the output to perform necessary action.