When I was learning to code, I had one instructor who, anytime someone was immersed in issues with dates, would exclaim "Datetime math is hard!" It's true, datetime math is hard and I see many devs struggling with it. Now that I work at a calendar company I have had to get really good at it. There are 2 valuable and probably controversial conclusions which I would like to share; milliseconds are you friend, while strings are the enemy, and the Javascript Date object needs a lot of help. Given that ES6 (or whatever they want us to call it now) isn't going to add much to Date, we need to learn how to work with what we have.
Speaker Bio
After nearly a decade of training dogs, I learned how program computers at Dev Bootcamp. Now I am helping to redefine how we use calendars at stanza.co with the help of my beagle and company mascot Nibbler. I am also an avid curler and have the pants to prove it.
Datetime Math Is Hard
The story you'd like to tell
When I was learning to code, I had one instructor who, anytime someone was immersed in issues with dates, would exclaim "Datetime math is hard!" It's true, datetime math is hard and I see many devs struggling with it. Now that I work at a calendar company I have had to get really good at it. There are 2 valuable and probably controversial conclusions which I would like to share; milliseconds are you friend, while strings are the enemy, and the Javascript Date object needs a lot of help. Given that ES6 (or whatever they want us to call it now) isn't going to add much to Date, we need to learn how to work with what we have.
Speaker Bio
After nearly a decade of training dogs, I learned how program computers at Dev Bootcamp. Now I am helping to redefine how we use calendars at stanza.co with the help of my beagle and company mascot Nibbler. I am also an avid curler and have the pants to prove it.