local_time_to_utc

版本 1.0.0.0 (2.8 KB) 作者: Peter Tenenbaum
Convert local time to UTC
2.6K 次下载
更新时间 2008/12/2

查看许可证

This function converts local time to UTC via Java methods. It is therefore portable to Matlab on any platform. It can take as argument either a vector of datenums or a vector of datevecs (ie, local_time_to_utc(now) or local_time_to_utc([2008 01 01 00 00 00])). It formats the returned time as a Matlab date/time string with a post-pended 'Z' to indicate UTC.

引用格式

Peter Tenenbaum (2024). local_time_to_utc (https://www.mathworks.com/matlabcentral/fileexchange/22295-local_time_to_utc), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2007a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Dates and Time 的更多信息
致谢

启发作品: skychart

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0