Platform DocumentationPlatform Documentation
Device TemplateWorkflowsNodes

Timestamp Check

Evaluate and compare timestamps in your workflows.

The Timestamp Check node evaluates time-based conditions, allowing workflows to make decisions based on timestamps, dates, and time intervals.

Overview

The Timestamp Check node enables time-based workflow logic, such as checking if data is stale, verifying business hours, or calculating time differences between events.

Timestamp Check Screenshot

How It Works

  1. Provide the timestamp to evaluate (from a variable or constant)
  2. Configure the time condition or operation
  3. The node outputs the result for use in connected nodes

Configuration

SettingDescription
TimestampThe timestamp to evaluate (ISO format or variable)
OperationType of check or calculation to perform
Reference TimeOptional reference time for comparisons
ResultOutput variable name

Supported Operations

OperationDescriptionExample
Is StaleCheck if timestamp is older than N minutes/hourslastUpdate greater than 30min
Is WithinCheck if timestamp is within a time rangebusinessHours
Time DifferenceCalculate difference between two timestampsdiffMinutes
Is Business HoursCheck if timestamp falls within business hoursisWorkday
Is WeekendCheck if timestamp falls on weekendisWeekend
FormatConvert timestamp to different formatformattedDate

Use Cases

  • Data freshness — Alert if data hasn't been updated recently
  • Business logic — Only process during business hours
  • Time calculations — Calculate uptime, response time, duration
  • Scheduled actions — Trigger based on time of day

Example: Data Freshness Check

Node: Timestamp Check
  Timestamp: {lastDataReceived}
  Operation: Is Stale
  Threshold: 60 minutes

If stale → Send alert
If fresh → Continue processing

Example: Time Difference

Node: Timestamp Check
  Timestamp A: {startTime}
  Timestamp B: {endTime}
  Operation: Time Difference
  Unit: minutes

→ Result: durationMinutes

Best Practices

  • Always use ISO 8601 format for timestamps
  • Handle null/missing timestamps gracefully
  • Consider timezone differences in comparisons
  • Test edge cases (midnight, DST changes)

Limitations

  • Timestamps must be in valid ISO format
  • Timezone handling depends on platform configuration
  • Very old timestamps may have precision issues

Next Steps

Connect the timestamp check output to condition nodes for branching, or to action nodes for time-based alerts.

On this page