You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 .
Acknowledgements
Inspired by: Get UTC Time, Convert a UTC time to Datenum (both Win32/Linux versions)
General Information
- Version 1.1.0.0 (1.23 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
