Scilab 5.3.3
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
Calling Sequence
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
Authors
- A.C
<< datenum | Time and Date | eomday >> |