You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Returns a NUMBER representing a timestamp equivalent "minuend_date - subtrahend_date" subtracting weekend periods from the result. i.e., you get the elapsed working time from subtrahend_date to minuend_date.

Syntax
subtractDatesSkippingWeekends(number minuend_date, number subtrahend_date, timeZone time_zone) #Output: Number
Additional information

Parameters used in this function

ParameterInput (data type)Description
<parameter>

DATA TYPE

Parameter description.
<parameter>

DATA TYPE

Parameter description.

timeZone

TIMEZONE

The time zone used for the calculation. 

Work days might depend on the time zone - it might be Sunday on the west coast of the US while at the same time it's already Monday in Australia. 

Output

The function returns a NUMBER