how to find whether the time is in UTC or IST?

5 Ansichten (letzte 30 Tage)
Manyam Pavani
Manyam Pavani am 20 Mär. 2017
Beantwortet: Walter Roberson am 20 Mär. 2017
I have 24 hourly data and i need to know whether the time in data is UTC or IST? for example,the time in data i have is 13.075000 and i need to know that it is UTC or IST?

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 20 Mär. 2017
You cannot tell with that information.
When you create a datetime object, it is possible to attach a timezone to it. You can then ask what its timezone property is. However, datetime objects would not likely have the format you show, and it is not possible for datetime to figure out what timezone a time is in unless it has timezone information in the string.

Weitere Antworten (0)

Kategorien

Mehr zu Data Type Conversion finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by