weekOfYear

Returns the week of year from a date as an integer starting from 1.

Syntax

weekOfYear()

Examples

$('Date').weekOfYear()