Point in time of day

Let's get a date object containing today's noon:

javascriptlet now  = new Date();
let date = new Date(now.getFullYear(), now.getMonth(), now.getDate(), 12);

And now it's noon tomorrow:

javascriptlet now  = new Date();
let date = new Date(now.getFullYear(), now.getMonth(), now.getDate() + 1, 12);
Задание 1

Determine how many hours have passed between yesterday afternoon and the current point in time.