getutc(timezone)

Retrieve the current UTC time and convert it to a MATLAB datenum.

You are now following this Submission

This function can get the current Coordinated Universal Time from the time server "http://time.is/UTC" and returns it as a serial date number (datenum). The user can specify the time zone.

Cite As

junziyang (2026). getutc(timezone) (https://au.mathworks.com/matlabcentral/fileexchange/53999-getutc-timezone), 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.1.0.0

Error correction
Slightly modified to solve the "certificate verify failed" problem.
error correction

1.0.0.0