date->asInteger
Returns the integer representation of a date.
Target
Signature
1date->asInteger()Returns the integer representation of a date.
date->asInteger is called with member syntax on a receiver value. date->asInteger 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->asIntegerThe example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.