date->week

Returns week information.

Target member

Signature

1date->week()

Returns week information.

date->week is called with member syntax on a receiver value. date->week handles calendar, duration, or formatting behavior. Store values in structured date or duration form and format them only when presenting text.

Examples

Basic call

1date->week
The example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.