I used
(year, month, date, hours, minutes, seconds)
with
new Date(2024, 3, 1, 0, 0, 0) // 1 April 2024 00:00:00 local time. month 0-based.
This worked on Safari and other browsers correctly.