image thumbnail

World Time Zones

version 1.3.0.1 (6.98 KB) by Bill McKeeman
Convert between local time and UTC. Get local time in various places in the world.

3.9K Downloads

Updated 01 Sep 2016

View License

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 (2021). World Time Zones (https://www.mathworks.com/matlabcentral/fileexchange/22223-world-time-zones), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!