weekvalue(
DATE
)

The weekvalue( function extracts the week from a date as a numeric value.


Parameters

This function has one parameter:

date – date value (see the date( and today( functions.)


Description

This function extracts the week number (within the current year) from a date as a numeric value.

weekvalue(today()) ☞ 9

Note: This function is equivalent to:

val(datepattern(thedate,"WW"))

History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.