Scalar FunctionsDate & Time Functions
monthofyear
Extracts the month (1-12) from a datetime value.
Syntax
monthofyear(date)Parameters
Prop
Type
Returns: int
Examples
Example 1
print monthofyear(datetime(2024-06-08)) // June, raiding season on the North Sea| print_0 (int) |
|---|
| 6 |