hours
Return the hours component of a time or duration.
Examples
Get the hours value of the current time:
now.hours
Extract hours from a parsed duration:
parse.duration("1h30m15s").hours
hours
Return the hours component of a time or duration.
Get the hours value of the current time:
now.hours
Extract hours from a parsed duration:
parse.duration("1h30m15s").hours