normalizeUTCDate

external fun normalizeUTCDate(date: Date): Date

Creates a new object with the same date, but sets the hours, minutes, seconds and milliseconds to 0.

Uses UTC date components to allow handling date instances independently of the system time-zone.