Javascript tutorial for beginner | Introduction to Date object in javacsript| how to work with date

Опубликовано: 01 Январь 1970
на канале: Sathelli Srikanth
33
1

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  


Смотрите видео Javascript tutorial for beginner | Introduction to Date object in javacsript| how to work with date онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Sathelli Srikanth 01 Январь 1970. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 33 раз и оно понравилось 1 посетителям.