temporal-fns
GitHub
npm
Preparing search index...
startOfHour
Function startOfHour
startOfHour
<
T
extends
TemporalWithTime
>
(
temporal
:
T
)
:
T
Returns
temporal
with minutes, seconds, and all sub-second fields zeroed.
Type Parameters
T
extends
TemporalWithTime
Parameters
temporal
:
T
Returns
T
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
npm
temporal-fns
Loading...
Returns
temporalwith minutes, seconds, and all sub-second fields zeroed.