This function creates a timestamp in milliseconds based on input values.
dateTime(year, month, day, hour, minute, timeZone) #Output: Number
dateTime(2020, 03, 01, 15, 30, LOCAL)
year
month
day
The day as number.
hour
minute
timeZone
The time zone used for the calculation.
This function returns a representing a timestamp.
The output can be written into any Jira field of type Date Picker ore Date Time Picker.
Another very common use case is to use this function in a JWT calculated date-time fields.
This function can come in handy when trying to create custom dates without calculating them based on existing dates.