Günüň wagt pursaty
Bu günüň günortasyny öz içine alýan sene objektini alyň:
javascriptlet now = new Date();
let date = new Date(now.getFullYear(), now.getMonth(), now.getDate(), 12);
Indi bolsa ertirki günortany alyň:
javascriptlet now = new Date();
let date = new Date(now.getFullYear(), now.getMonth(), now.getDate() + 1, 12);
Задание 1
Düýnki günortadan häzirki wagt pursatyna çenli geçen sagady kesgitleň.