W top-level constant

String const W

Outputs week in year compactly

Example: formatDate(new DateTime(1989, 2, 21), W); // => 8

Implementation

const String W = 'W';