timeOfDay(timeIn, outUnit)

Version 1.1.0.0 (905 octets) par Marc Jakobi
calculates the time of day since 00:00 from datenum
44 téléchargements
Mise à jour 9 oct. 2016

Afficher la licence

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

Citation pour cette source

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

Compatibilité avec les versions de MATLAB
Créé avec R2016b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Dates and Time dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.1.0.0

Added performance improvements suggested by Jan Simon.

1.0.0.0