This function returns the second part of a timestamp based on a given time zone.
second(timestamp, timeZone) #Output: Number
%{second({issue.created}, RUN_AS_LOCAL)}
If the issue was created on March 25th, 2020 23:15:30 the output would be 30, for 30 seconds.
%{second(stringToDate("2020-01-01 00:30","Europe/Berlin"),"UTC")}
Parameters used in this function
timestamp
timeZone
The time zone used for the calculation.
This function returns a
Returns the second part of a given timestamp.