date->month
Returns month information.
Target
Signature
1date->month(-long::boolean= ?, -short::boolean= ?)Returns month information.
date->month is called with member syntax on a receiver value. date->month handles calendar, duration, or formatting behavior. Store values in structured date or duration form and format them only when presenting text.
Parameters
-long- Optional value of type
boolean. Supply-longby keyword, keeping the leading hyphen in the call. -short- Optional value of type
boolean. Supply-shortby keyword, keeping the leading hyphen in the call.
Examples
Basic call
1date->month(-long)The example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.