Scalar FunctionsDate & Time Functions
getyear
Extracts the year from a datetime value.
Syntax
getyear(date)Parameters
Prop
Type
Returns: int
Examples
Example 1
print getyear(datetime(2024-06-08)) // year of the first Viking raid on England| print_0 (int) |
|---|
| 2024 |