Code of Matt
  • About the Author
Subscribe
Tagged

JavaScript

A collection of 4 posts

leap-year

Happy New LEAP Year!

If you haven't realized it yet, 2016 is a leap year.  For most people, this may just be an interesting oddity.  An extra day to work or play.  But for developers, the leap year can cause significant pain.  It's January 1st as I'm writing this.  If you are just now

  • Matt Johnson-Pint
Matt Johnson-Pint Jan 1, 2016 • 10 min read
JavaScript

JavaScript Date Parsing Changes in ES6

Do you know the difference between these two lines? var d1 = new Date("2015/06/17"); var d2 = new Date("2015-06-17"); How about these? var d1 = new Date("2015/06/17 00:00:00"); var d2 = new Date("2015-06-17 00:00:00"

  • Matt Johnson-Pint
Matt Johnson-Pint Jun 17, 2015 • 3 min read
talks

Desert Code Camp 2013.2

I'll be speaking at Desert Code Camp on Saturday, November 9th, in Chandler, Arizona.  I'm doing an insane 5 session marathon.  If you live in the area, or care to visit, please consider one of my sessions: Date and Time FundamentalsManaging dates and times properly is one of the most

  • Matt Johnson-Pint
Matt Johnson-Pint Nov 2, 2013 • 2 min read
JavaScript

JavaScript Date type is horribly broken

JavaScript dates have always been a bit funny. As a .Net developer, there was a bit of a mind-shift for me, because they are inherently different than types like DateTime or DateTimeOffset. But I won't spend too much time on what they are not, lets just talk about what they

  • Matt Johnson-Pint
Matt Johnson-Pint Jun 7, 2013 • 6 min read
Code of Matt © 2022
Powered by Ghost