DriveWorks Pro 17: SppDateTimeSpan [send feedback...]

SppDateTimeSpan

Returns a table of information representing the time interval between two Date Time values.

Syntax

SppDateTimeSpan([DateTime1],[DateTime2])

Where:

DateTime1 is the earliest DateTime.

DateTime2 is the latest DateTime.

The Date Time format should be given in the current culture format of the machine in use.

Example

RuleResultMeaning
SppDateTimeSpan("09/16/2017 11:30:21","03/29/2019 11:30:04"){"Days","Hours","Minutes","Seconds","Milliseconds","TotalDays","TotalHours", "TotalMinutes","TotalSeconds","TotalMilliseconds"; 558,23,59,43,624,558.99,13415.99,804959.72,48297583.62,48297583624.68}This is the Array that will be created with information representing the time interval between two Date Time values.
SppDateTimeSpan(DWVariableThen,DWVariableNow){"Days","Hours","Minutes","Seconds","Milliseconds","TotalDays","TotalHours", "TotalMinutes","TotalSeconds","TotalMilliseconds"; 558,23,59,43,624,558.99,13415.99,804959.72,48297583.62,48297583624.68}This is the Array that will be created with information representing the time interval between two Date Time values.

Table of Contents