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