World Time Zones
This application is based on a large table of places (cities, states, provinces,states) and their time zones. The methods are:
t = timeZones() construct time converter object
tz = t.zone(place) find a time zone (-11 to +12)
tm = t.st2utc(time, place) convert local standard time to UTC
tm = t.dst2utc(time, place) convert local daylight time to UTC
tm = t.utc2st(time, place) convert utc to local standard time
tm = t.utc2dst(time, place) convert utc to local daylight time
t.places() all places for which time is tabulated
Cite As
Bill McKeeman (2024). World Time Zones (https://www.mathworks.com/matlabcentral/fileexchange/22223-world-time-zones), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.