How to use URL macro for Epoch time?

Hi,

If the API URL has the query string with Epoch time, is there anyway to make it dynamic using {DATE} or {TODAY} macro ? The manual says the format is specified using Java DateTimeFormatter, which seems to have no specifier for Epoch time format.

Thank you. :grinning_face:

{TODAY:unixtime}

is now

{TODAY:unixtime:-P3M}

is now - 3 month

{TODAY:unixtime:-P5Y}

is now - 5 years

5 Likes

Great! Thank you.