workingday()

This function returns the number representation of the next working day from a date a using Locale b if the date is not a working day. Otherwise, the number of the current day will be returned.

Parameters


Parameter

Description

a

Date.

b

The Locale to be used for the calculation. Default: "de". Note: Use the three dots to select a value.


Examples


Parameter a

Parameter b

Result

2005-12-17 08:20:00 (Friday)


5 (Friday)

2005-12-18 (Saturday)


1 (Monday)

2005-12-17 08:20:00 (Friday)

ar

7 (Sunday)

2005-12-18 (Saturday)

ar

7 (Sunday)