Before reading this post: "Pfffhh I have to work with boring π₯π₯ Date()s again.. :(((" After reading the post: "Good morning, where's my Date()s breakfast? I AM GOD DAMN HUUNGRY π₯" Haha, jokes aside, I always felt dealing with Date()s is so boring. What makes them so? First, to create the date you have a thousand options. String, number, nothing, NOT ANYMORE! You see in the post the ONLY 4 opinions that exist ππ€« You also have to check the docs all the time because you can't remember the long, boring methods sounding like setMonthBLABLADay(). NOT AGAIN! With the table I gave you, everything is systematized!ππ€«π Some more info for the real geeks of you, Interesting (and confusing) fact which I didn't have space to mention in the post is that in the Date()s API, the first month of the year (January) is numbered 0 and so on (0, 1, 2, 3...) like arrays. But the first day of a month is number 1 (1, 2, 3...). (since we can't have 0 of December.. Logical ππ«). We also don't have a setDay() method (the empty gaps on the table) since Day is read-only. (0- Sunday, 1-Monday ...) β‘οΈNote: This is a re-share of my older post, as I made part 2 and I want them to be near each other so my grid will be clean and sorted π― (for easier access) Part two - tommorow! #javascripts #javascriptdevelopers #javascriptessentials #webmaster_project #js #nodejs #denojs #reactjs #angularjs #javascript30 #javascriptdeveloper #javascript #learntocode https://www.instagram.com/p/CQbOjNIjAca/?utm_medium=tumblr