dotslash
dotslash

Reputation: 381

What does T mean in timestamp 20160322T192202 if it doesn't end with 'Z'?

Here I have a timestamp:20160322T192202

I read from this question

What exactly does the T and Z mean in timestamp?

But here the timestamp I have gotten doesn't have 'Z' at the end. 'Z' refers to "Zulu". Zulu" is the ICAO spelling alphabet code word for "Z"

I don't know what timezone it belongs to. And don't know how to convert the time.

In this case, can I take this timestamp as 20160322T192202Z?

Upvotes: 1

Views: 3496

Answers (1)

Luis F Hernandez
Luis F Hernandez

Reputation: 931

It realistically should say in the server/API documentation what time zone the timestamp is in. An easy way would be to test the timestamp, as in make the API generate a timestamp and then see what time it is at the moment. This would make sure that you know what timezone it's timestamping in. In any case, it's probably safe to assume you can take it as 20160322T192202Z because UTC is pretty common for things.

Upvotes: 1

Related Questions