getDate methods in javascript | dates in Javascript | Javascript Dates

Pubblicato il: 15 ottobre 2022
sul canale di: Rank1 Education
115
4

#JavaScript Basics Tutorial
In this video, I’ll show you how to use date methods like
getDate( ), getMonth( )

Complete JavaScript Playlist link
   • Complete JavaScript  Basics  

/ Dates METHODS in JAVASCRIPT

var d = new Date(); //create a new date object and inspect in Console
console.log(d); //FullDate
console.log("Current Year :" + d.getFullYear()); //Get the year as a four digit number (yyyy)
console.log("Current Month: " + (d.getMonth()+1)); //Get the month as a number (0-11) =====
console.log("Today's Date: " + d.getDate()); //Get the day as a number (1-31)
console.log("Hours: " + d.getHours()); //Get the hour (0-23)
console.log("Minutes: " + d.getMinutes()); //Get the minute (0-59)
console.log("Seconds: " + d.getSeconds()); //Get the second (0-59)
console.log("Milliseconds: " + d.getMilliseconds()); //Get the millisecond (0-999)
console.log("Epoch: " + d.getTime()); //Get the time (milliseconds since January 1, 1970)
console.log("weekday: " + (d.getDay() + 1)); //Get the weekday as a number (0-6)




🪄Enjoy!

🔥Motivation for Learning🔥
➡️"An investment in knowledge pays the best Interest."

Hi! I’m Ajinkya Sir.
🌎Mentored 5000+ Students Online and Offline
B-Tech In Electronics.
Passionate Teacher by Profession.
Be smart and Think logically

❓If you have any doubt or you want us to cover a certain topic,
please comment below.


✅If you need a video on particular topic just write in comment section.

📛BATCH NAME📛 : RANKERS

We stream our sessions Live and Recorded sessions on this channel
Video are scheduled on timeline as Upcoming Live Stream.
videos are posted on daily basis.


ASK YOUR DOUBTS IN THE 💬COMMENT SECTION

Connect with me personally on
🔗📌Telegram : https://t.me/Rank1edu
🔗📌YouTube:    / rank1education  
🔗📌Instagram Official: @Rank1_Knowledge
🔗📌Instagram Personal: @ajinkya0011
🔗📌instagram:  / ajinkya0011  
🔗📌website: https://rank1.org.in


🙏🏻Do Like, Share and Subscribe our channel for Quality Learning Videos.
Regards,
Ajinkya Sir
-------------------------------------------------------------------------------------------------
Please 💓Like , Comment, Share and Subscribe💯
#rank1 Education
#rank1
#rank1education
#AjinkyaSir

Don't forget to hit the🔔bell icon for further updates.

😊Thanks for 📺watching my video
Regards,
Er Ajinkya Sir


In questa pagina del sito puoi guardare il video online getDate methods in javascript | dates in Javascript | Javascript Dates della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Rank1 Education 15 ottobre 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 115 volte e gli è piaciuto 4 spettatori. Buona visione!