Name

DateTimeDiff — Get difference in seconds between two datetime values

Synopsis

DateTimeDiff (datetime1,
  datetime2);

Returns

NUMBER OR ARRAY

Parameters

Name Type Default Description
datetime1 array_or_number
datetime2 array_or_number

Description

This function is inspired by AmiBroker function: www.amibroker.com/guide/afl/datetimediff.html

Get difference in seconds between two datetime values