EXPAND ALL
  • Home

px.hours

Gets the specified number of hours.

Arguments

NameTypeDescription
unitintThe number of hours to render.

Returns

px.Duration: Duration representing unit hours.

Examples

# Returns 2 hours.
time = px.hours(2)

This site uses cookies to provide you with a better user experience. By using Pixie, you consent to our use of cookies.