The function returns the date part of any given date.
datePart(timestamp, timeZone) #Output: Number
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 9 Next »
The function returns the date part of any given date.
datePart(timestamp, timeZone) #Output: Number
Parser expression | Description |
---|---|
datePart({issue.created}, LOCAL)
| This function will return March 25th, 2011 00:00 as a number in milliseconds. The time part 23:15 will be removed from the timestamp and will be set to 00:00. |
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. |
The function returns a NUMBER.
Powered by Atlassian Confluence 8.5.7, themed by Refined 7.5.3 and Decadis AG