Skip to end of banner
Go to start of banner

week

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

Description

Returns the week number in the year of the provided date.

Parameters

Return Type

Number

Examples

Example 1

print("Week is " + week(currentDate()));

Example 2

date varDateTime = "2011-08-17T18:30:55";
print("Week is " + week(varDateTime));

Print Week is 33

See also

  • No labels