timePart()

This function returns the time part of any given timestamp.

Bash
 timePart(timestamp, timeZone) #Output: Number

Examples

Parser expression

Description

Bash
%{timePart({issue.created}, RUN_AS_LOCAL)}

This example returns the time part of the issue creation date timestamp in milliseconds.

If the creation date was March 25th, 2020 23:15 the output would be 23:15 (in milliseconds).

Additional information

Parameters used in this function

Parameter

Input (data type)

Description

timestamp

number

The parameter must be a 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.

Output

This function returns a number

If you need the date part instead you might want to have a look at the function datePart().


(books) Use cases and examples