Skip to content

@technobuddha > library > Time > Day

Function: isSameDay()

ts
function isSameDay(
   input1: Date, 
   input2: Date, 
   options: DateOptions): boolean;

Defined in: is-same-day.ts:14

Determine if two dates occur on the same day

Parameters

ParameterTypeDescription
input1DateThe first date
input2DateThe second date
optionsDateOptionssee DateOptions

Returns

boolean

true, if the two dates fall on the same day

Default Value

ts
utc false