local_time_to_utc

Convert local time to UTC

現在この提出コンテンツをフォロー中です。

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 (2026). local_time_to_utc (https://jp.mathworks.com/matlabcentral/fileexchange/22295-local_time_to_utc), MATLAB Central File Exchange. に取得済み.

謝辞

ヒントを与えたファイル: skychart

カテゴリ

Help Center および MATLAB AnswersDates and Time についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0.0