WarcraftLogsAPI time question

Hi,

I started using the WarcraftLogsAPI today. (in vb.net)
And now want to use the startTime from the array, but how do I use it? I can’t read it, and so I don’t have any idea how to use it.
Example:

“startTime”: 1484857076018,

By “I can’t read it” I mean that i don’t know which digits are year/week/day or whatever…
I hope someone can help me. :slight_smile:

Hi,

This is a timestamp (which means the number of seconds [here milliseconds] since january 1970).

You can look at this question in stackoverflow if you want more information on how to use it with vb.net.

(Be careful, the timestamp here is with milliseconds, you may need to divide by 1000 in order to only get the seconds).

Thanks, works perfect.
Now that you say it, it even makes sense when I divide it by 1000, 60, 60, 24, 365 = ~ 47 years :slight_smile:

It just differs by 1h from the current time. I guess this happens because of the summer/winter-time in Germany.