weeknumber(a)


Returns the number of the week in the year of a given date a.

The system locale is used as the basis of the calculation.

Description of Parameters


Parameter

Description

a

Date.


Examples


Parameter a

Result

2005-01-03 08:20:12

1

2005-01-12

2