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.
Cita come
Peter Tenenbaum (2024). local_time_to_utc (https://www.mathworks.com/matlabcentral/fileexchange/22295-local_time_to_utc), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2007a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Dates and Time in Help Center e MATLAB Answers
Tag
Riconoscimenti
Ispirato: skychart
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |