Info |
---|
|
This routine is available starting with SIL Engineā¢ 1.0. Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | week(date) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Returns the week number in the year of the provided date. |
Returns the week number in the year of the provided date.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
date | |
...
Date | Yes | Specifies a Date or a DateTime expression. |
|
Return
...
Type
numberNumber
...
Examples
Example 1
Code Block |
---|
print("Week is " + week(currentDate()));
|
Example 2
Code Block |
---|
date varDateTime = "2011-08-17T18:30:55";
print("Week is " + week(varDateTime));
|
Print Week is 33
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 10025 |
---|
showSpace | false |
---|
cql | label = "date_routines" and space = currentSpace ( ) |
---|
labels | datearray_routines |
---|
|