World Time Zones

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


Updated 1 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 = 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 (2022). 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!