Gets the number of the week in the current locale.

Syntax

Smartsite SXML CopyCode image Copy Code
integer locale.getweekofyear()
integer locale.getweekofyear(datetime date)

Parameters

Name Data Type Description
date DateTime The date.
culture String The culture.

Return Value

Data Type Description
Integer Integer

Expand image Example

SXML