fg df g df gfd df

Date/Time:

Date/Time:

Date/Time:

Date/Time:

Date/Time: MM/DD/YYYY hh:mm

Date/Time: DD.MM.YYYY hh:mm (German)

Demo: the current year (in your local time) is .

n = new Date(); y = n.getFullYear(); m = n.getMonth() + 1; d = n.getDate(); document.getElementById("date").innerHTML = m + "/" + d + "/" + y;

Date:

Date:

Get first and last date of current month

GeeksForGeeks

0 Comments