Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Return the time difference between two dates in milliseconds.

Note that the function includes any variance for daylight savings changes. 

Syntax

dateDiff(date1, date2)

ArgumentTypeDescription
date1DateThe original date/time
date2Date FieldThe date to be subtracted from date1

Examples

dateDiff(now(),"20080101.130000")

...