This function returns the day of the week of any given timestamp in text form.
dayOfTheWeekToString(timestamp, timeZone, language) #Output: Text
If you need the day of the week as number you might want to use dayOfTheWeek()
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 15 Next »
This function returns the day of the week of any given timestamp in text form.
dayOfTheWeekToString(timestamp, timeZone, language) #Output: Text
Parser expression | Description |
---|---|
dayOfTheWeekToString({issue.duedate}, LOCAL, USER_LANG) | This example returns the day of the week as text. If the due date was set to March 25th, 2020 23:15 and the user's Jira language was set to English the output would be Friday. |
Parameters used in this function
Parameter | Input (data type) | Description |
---|---|---|
timestamp | TIMEZONE | The parameter must be valid timestamp. Usually this value is retrieved from a field (e.g. due date, created date). |
timeZone | TIMEZONE | The time zone used for the calculation. |
language | LANGUAGE | The language used for the calculation. |
This function returns a TEXT
If you need the day of the week as number you might want to use dayOfTheWeek()
Powered by Atlassian Confluence 8.5.15, themed by Refined 7.6.0 and Decadis AG