This function returns the date part of a timestamp of any given date in text form.
dateToString(timestamp, timeZone, language) #Output: Text
Examples
|
Parser Expression |
Description |
|---|---|
|
Bash
|
This example could return: 18/May/20
|
|
Bash
|
This example could return: 18/Mai/20 |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
number |
The parameter must be valid timestamp. Usually this value is retrieved from a field (e.g. due date, created date). |
|
|
timezone |
The time zone used for the calculation. |
|
|
language |
The language used for the conversion. |
Days might depend on the time zone - it might be Sunday on the west coast of the US while at the same time it's already Monday in Australia.
If you want to convert a text into a date, please see stringToDate().
Output
This function returns a text
(books) Use cases and examples
| Use case | JWT feature | Workflow function | Field type | Automated action | Parser functions |
|---|---|---|---|---|---|
| Close tickets after version release |
|
Transition issue action | |||
| Last comment, its author, and timestamp |
(input latin letters) |
Text | |||
| Display historic due dates |
(input latin letters) |
||||
| Create a sub-task for every recurring deadline within a task |
|
addMonths() getMatchingValue() dateToString() |