"In JavaScript the date/time is not a string, it is represented as object, Date object, there is no separate data type for time and date, both time and date are represented using Date object."
THIS!!!
When I first started JavaScript, I didn't internalize this distinction (probably because I wasn't focusing on the object-oriented side of JS) and it led to a LOT of frustration until I got a better understanding of how objects work.
"In JavaScript the date/time is not a string, it is represented as object, Date object, there is no separate data type for time and date, both time and date are represented using Date object."
THIS!!!
When I first started JavaScript, I didn't internalize this distinction (probably because I wasn't focusing on the object-oriented side of JS) and it led to a LOT of frustration until I got a better understanding of how objects work.
What a great, comprehensive explainer!
I just share what I know.. happy to know it is useful... Thank you...