duration->hour

Returns duration hours.

Target member

Signature

1duration->hour()

Returns duration hours.

duration->hour is called with member syntax on a receiver value. duration->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

1duration(-hour=3)->hour
The example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.