This function returns the day of the month of any given timestamp.
Syntax
dayOfTheMonth(timestamp, timeZone) #Ouput: Number
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 6 Next »
This function returns the day of the month of any given timestamp.
dayOfTheMonth(timestamp, timeZone) #Ouput: Number
Parser expression | Description |
---|---|
%{dayOfTheMonth({issue.duedate}, RUN_AS_LOCAL)} | This example returns only the day of the month. If the due date was set to March 25th, 2011 23:15 the output would be 25. |
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 | TEXT | The time zone used for the calculation. |
This function returns a NUMBER
Powered by Atlassian Confluence 8.5.16, themed by Refined 7.6.0 and Decadis AG