World Time Zones

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 (2024). World Time Zones (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Dates and Time in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Updated license

Somehow a floating ' got into the source file. Sorry

removed screen shot

Implemented workaround for problem found in 2009a.