Master Time Manipulation in JavaScript Using Moment.js

1 · · June 24, 2019, 10:23 p.m.
When I was learning JavaScript, dealing with time and dates seemed like such an unnecessary hassle. Why deal with milliseconds from the first day of 1970? Why put up with a clunky return value like 2019-06-24T13:12:41.044Z? Why is there no simple way of formatting or altering dates exactly as we would like? You would think that something as basic as time would have been optimized for ease of use long ago, but alas, that is not the case yet. Here we are now, stranded, left to pick through the rub...