timeOfDay(timeIn, outUnit)

calculates the time of day since 00:00 from datenum
44 download
Aggiornato 9 ott 2016

Visualizza la licenza

calculates the time of day.
Syntax: tod = timeOfDay(time, outUnit)
Input arguments:
- time: datenum time stamp
- outUnit: one of the following strings: 'nanoseconds', 'microseconds', 'milliseconds',
'seconds' (default), 'minutes' or 'days'
Output argument:
- tod: time of day in unit specified by unit input
(default: seconds)

Author: Marc Jakobi, 06.10.2016

Cita come

Marc Jakobi (2024). timeOfDay(timeIn, outUnit) (https://www.mathworks.com/matlabcentral/fileexchange/59524-timeofday-timein-outunit), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2016b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Dates and Time in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.1.0.0

Added performance improvements suggested by Jan Simon.

1.0.0.0