year
extracts year from datetime
Syntax
y = year(dt)
Arguments
- dt
- y
year value(s)
Description
y = year(dt) returns the year values of the input argument
dt.
Examples
See also
- datetime — create points in time
History
| Versão | Descrição |
| 2024.0.0 | Introduction in Scilab. |
| Report an issue | ||
| << weekday | Data e Hora | ymd >> |