12 Jul 2018 10:15 AM
Hi,
I'm testing Dynatrace API sending GET parameter startTimestamp and endTimestamp. For converting timestamp dates I am using https://www.unixtimestamp.com/index.php but it is not working properly.
If I run a GET using a relative time (for example 15mins) the timestamp value has this format "1531386540000" (13 digits). When I generate a timestamp it has 10 digits, example "1531299600". Do you know how can I convert a time using same format as Dynatraces does?
Thanks.
Alberto.
Solved! Go to Solution.
12 Jul 2018 10:25 AM
Multiply your timestamp by 1000 as Dynatrace uses milliseconds.
12 Jul 2018 10:48 AM
ok, it works.
Thanks.
Alberto.