දවසේ කාල මොහොත
අද දවසේ දහවල් 12.00 අඩංගු දිනයක් අඩංගු වස්තුවක් ලබා ගනිමු:
let now = new Date();
let date = new Date(now.getFullYear(), now.getMonth(), now.getDate(), 12);
දැන් හෙට දවසේ දහවල්:
let now = new Date();
let date = new Date(now.getFullYear(), now.getMonth(), now.getDate() + 1, 12);
ඊයේ දහවල් සිට දැන් වනතුරු කොපමණ පැය ගණනක් ගතවී ඇත්දැයි තීරණය කරන්න.