dayOfTheWeekToString()

This function returns the day of the week of any given timestamp in text form.

Bash
dayOfTheWeekToString(timestamp, timeZone, language) #Output: Text

Examples

Parser expression

Description

Bash
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.

Additional information

Parameters used in this function

Parameter

Input (data type)

Description

timestamp

number

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.

Output

This function returns a text

If you need the day of the week as a number, please see dayOfTheWeek().


(books) Use cases and examples