Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


UI Text Box
sizemedium
typeinfo

This function returns the day of the month of any given timestamp.


Code Block
languagebash
titleSyntax
linenumberstrue
 dayOfTheMonth(timestamp, timeZone) #Output: Number


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
 %{dayOfTheMonth({issue.dueDate}, RUN_AS_LOCAL)}



This example returns only the day of the month.

Info
typeinfo

If the due date was set to March 25th, 2011 23:15 the output would be 25.





UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
timestamp

Status
subtletrue
titlenumber

The parameter must be valid timestamp. Usually this value is retrieved from a field (e.g. due date, created date).
timeZone

Status
subtletrue
titletext

The time zone used for the calculation. 


UI Text Box
typetip

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. 



UI Expand
titleOutput

This function returns a

Status
subtletrue
titlenumber



Image AddedUse cases and examples

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Field type, Automated action, Parser functions
cqllabel = "parser_func_dayofthemonth" and space = currentSpace()


Page properties
hiddentrue


Short description

Returns the day of the month of any given timestamp.

Output

Status
subtletrue
titlenumber