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}, LOCAL)

This example returns the time part of the issue creation date 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 valid timestamp. Usually this value is retrieved from a

field

(e.g. due date, created date).

timeZone

timezone

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().


📚 Use cases and examples