Scilab-Branch-6.1-GIT
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
datevec
Date components
Syntax
V=datevec(DT) [Y,M,D,H,MI,S]=datevec(DT)
Description
V = datevec(DT) converts a serial date number (defined by datenum) to a date vector V having elements [year, month, day, hour, minute, second]. The first five vector elements are integers. DT can be an array.
[Y, M, D, H, MI, S] = datevec(DT) returns the components of the date vector as individual variables. DT can be an array.
Examples
See also
Report an issue | ||
<< datenum | Time and Date | eomday >> |