function isSameDay isSameDay(a: Date,b: Date): boolean Checks whether a and b fall on the same local day. Parameters a: Date b: Date Return Type boolean