Let's learn the handling of dates in JavaScript. First we obtain the current time using Date.now() method. Then we learn the concept of timestamps that can help us set the time. We will also learn the date string approach that can set the time for us. We can get the components of a date from a date string using the get methods. We will also learn the way to set up our user-defined time, using the Date constructor, Date.parse() method and other set methods. Finally, we will see that the date can correct itself if we input some invalid values.
1:04 - Date.now()
2:01 - Concept of timestamps
5:55 - Set the time using Date constructor
8:09 - Concept of date strings
10:42 - Date.parse()
12:08 - Get the components of a date from a date string
17:48 - Set the time using set methods
20:34 - Self-correction of dates
Playlist of my JavaScript course
• [20 hours] JavaScript tutorial for be...
Playlist of my HTML5 and CSS3 tutorials
• [12 hours] HTML and CSS tutorials for...
Playlist of my algorithm walkthrough
• Algorithms and data structures | DSA ...
Playlist of my Java course
• [14 hours] Java tutorial for beginner...
Playlist of my Java examples
• Java projects for beginners | Java pr...
#javascripttutorial #javascriptfullcourse #begincodingfast #javascript #javascriptdate
On this page of the site you can watch the video online Date objects in JavaScript - Basic JavaScript Fast (38) | Date.now, Date.parse with a duration of hours minute second in good quality, which was uploaded by the user Begin Coding Fast 11 June 2023, share the link with friends and acquaintances, this video has already been watched 256 times on youtube and it was liked by 2 viewers. Enjoy your viewing!