period_hours

Hours component of a period

Extracts the hours field of a Period value.

Parameters

Returns

The hours field.

Examples

period_hours(hours(12))