Forecast Timestamp
-
Hi ,
I am looking at the response of the Windy API and in that there is ts: int[] , I believe, this integer array has time stamps in it. Could someone please help me with the timestamp format. Here is an example. 16016292200000. Also, there are 80 values in the response (in this integer array). Does this mean that its giving 10 days weather info (8 times a day)?
Need your inputs please!Thanks,
Sai -
It is Unix Timestamp, provided with 4 extra digits after the second unit digit (i.e. values are in hundreds of microseconds, instead seconds as expected).
Try 1601629220 instead 16016292200000 in any timestamp to date converter (e.g. here): you should get "Friday 2 October 2020 09:00:20"
Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
NodeBB & contributors, OSM & contributors, HERE maps