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

5 views (last 30 days)
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?

Accepted Answer

Walter Roberson
Walter Roberson on 20 Mar 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.

More Answers (0)

Categories

Find more on Data Type Conversion in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!