ChronosChronos

addHours

Adds hours and returns a new immutable instance.

addHours()

Adds hours and returns a new immutable Chronos instance.

Signature

addHours(hours: number): Chronos

Parameters

  • hours: Number of hours to add

Return Type

Chronos - New instance with added hours

Example

playground.ts

Alternative

  • You can also use add method as original.add(1, 'hour').

Last updated: Thu, May 21, 2026 12:57:11PM (UTC)

On this page