Warning |
---|
Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here ! |
Info | ||
---|---|---|
| ||
This routine is available since katl-commons starting with SIL Engine™ 1.0. |
Syntax
...
dayOfWeek(date)
Description
...
Excerpt |
---|
Returns the day of week, . |
English only. One of the following string values: "Sun","Mon","Tue","Wed","Thu","Fri","Sat".
Parameters
...
Parameter name | Type | Required | Description |
---|---|---|---|
date | date | Yes | Specifies a Date or DateTime expression. |
Return type
...
string
Example
...
Example 1
...
Code Block |
---|
print("Today is " + dayOfWeek(currentDate())); |
Example 2
...
Code Block |
---|
date varDateTime = "2011-08-17T18:30:55"; print("Day of week is " + dayOfWeek(varDateTime)); |
Print Day of week is Wed
See
...
also
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|