--- title: "workingday()" slug: "date-working-day" updated: 2026-08-13T09:04:49Z published: 2026-08-13T09:04:49Z canonical: "docs.lobstersoftware.com/date-working-day" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # 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) |