timeOfDay(timeIn, outUnit)

版本 1.1.0.0 (905 字节) 作者: Marc Jakobi
calculates the time of day since 00:00 from datenum
44.0 次下载
更新时间 2016/10/9

查看许可证

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

引用格式

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

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

Community Treasure Hunt

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

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

Added performance improvements suggested by Jan Simon.

1.0.0.0