getutc(timezone)

Version 1.1.0.0 (1.23 KB) by junziyang
Retrieve the current UTC time and convert it to a MATLAB datenum.
356 Downloads
Updated 3 Sep 2017

View License

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 (2024). getutc(timezone) (https://www.mathworks.com/matlabcentral/fileexchange/53999-getutc-timezone), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

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

1.0.0.0