hello developers welcome back
Welcome all, we will see Dates in JavaScript JavaScript Date Object. JavaScript Date Object lets us work with dates:
var d = new Date();
Date objects are based on a time value that is the number of milliseconds since 1 January 1970 UTC.
By default, JavaScript will use the browser's time zone and display a date as a full text string:
3 numbers specify year, month, and day:
2 numbers specify year and month:
You cannot omit month. If you supply only one parameter it will be treated as milliseconds.
getFullYear() Get the year as a four digit number (yyyy)
getMonth() Get the month as a number (0-11)
getDate() Get the day as a number (1-31)
Universal Coordinated Time (UTC) is the time set by the World Time Standard.
Guys, Please support my channel by SUBSCRIBE to my channel and share my videos in your Social Network TimeLines.
Don't Forget to Follow me on all Social Network
twitter: / srikanthsatheli