I'm trying to translate a date into the equivalent milliseconds since epoch using JIRA smart values.
For example: Get 2020-05-27T02:11:32.000
as 1590509492000
The docs say you can also use formatting from the Java DateTimeFormatter
class (link).
I've tried all of the following. Is this possible?
{{now.format("n")}}
{{now.format("A")}}
{{now.toCurrentTime.format("nnnn")}}
{{now.fullDateTime.format("AAAA")}}",
{{now.fullDateTime.format("n")}}",
{{now.fullDateTime.format("A")}}",
{{now.toCurrentTime.millis}}",
{{now.toDateTimeAtCurrentTime.format("n")}}",
{{now.toDateTimeAtCurrentTime.format("A")}}",
{{now.toDateTimeAtCurrentTime.millis}}"