Month: January 2021

Get and Set Date Function in JS

new Date (year, month, date, hours, minutes, seconds, ms) Getting date components getFullYear () =>Get the year (4 digits) getMonth () =>Get the month, from 0 to 11. getDate()=>Get the day of month, from 1 to 31 getHours() ...
READ MORE   >>

Date and Time Function in JS

Date object is used to stores the date and time and provides different methods for date/time management like creation, modification, measure time or just print current date. To create a new Date object, call new Date () with one of the following...
READ MORE   >>

Recent Comments

    • Copyright © 2020 (Er. Shairy Kalra). All Rights Reserved