weeknumber()

Prev Next

This function returns the number of the week in the year of a given date a.

Parameters

Parameter

Description

a

Date.

b

(optional) Locale. Default: System Locale. Note: Use the three dots to select a value.

Examples

Parameter a

Parameter b

Result

2021-10-04

de_DE

40

2021-10-04

en_US

41