pub fn month(params: &[Value]) -> NativeResultExpand description
Returns the month portion of a supplied Datetime as a Value::Number.
- Declaration:
month(datetime: Number): Number
ยงErrors
Will return NativeError::WrongParameterCount if there is a mismatch in the supplied parameters.
Will return NativeError::WrongParameterType if the the supplied parameters have the wrong type.