Universal Time Code

Converts UTC from and to MATLAB datenum.

You are now following this Submission

These functions converts UTC to and from MATLAB datenum.

utc2date from UTC to datenum
date2utc from datenum to UTC.

On windows system the required timezone information is gathered from the registry.

Cite As

Anders Björk (2026). Universal Time Code (https://www.mathworks.com/matlabcentral/fileexchange/6368-universal-time-code), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0