Week
Returns the numeric week within a year of a date object
Method Signature
Arguments
Argument | Type | Required | Description | Default |
---|---|---|---|---|
|
|
| The date object to be evaluated. If not provided the current date and time is used | |
|
|
| An optional timezone which to convert the date object to | |
|
|
| An optional ISO locale string which will return the specified time unit with a locale-specific result ( e.g. month name, or starting day of week as Monday vs Sunda ) |
Examples
Related
Last updated