Code of Matt
  • About the Author
Subscribe
Matt Johnson-Pint

Matt Johnson-Pint

41 posts published

https://x.com/mattjohnsonpint
leap-year

List of 2024 Leap Day Bugs

Well, it's 2024 and leap day has come once again. As I've done in prior leap years, I've captured as many bug reports and outages as I can, along with links to the source where possible. For those have been following along, you'

  • Matt Johnson-Pint
Matt Johnson-Pint Feb 29, 2024 • 8 min read
leap-year

List of 2020 Leap Day Bugs

The following is a list of many bugs caught on or near leap day, February 29th, 2020. Each link below references the issue with supporting details where available.

  • Matt Johnson-Pint
Matt Johnson-Pint Feb 29, 2020 • 9 min read
date-time

On the Life Cycle of a Leap Year Bug

Back in 2016, I wrote about leap year bugs. Since another leap year is almost here, I figure it's time to revisit the subject. I've gathered quite a bit of knowledge in this area since then. Hunting down leap year bugs has actually been part of

  • Matt Johnson-Pint
Matt Johnson-Pint Oct 12, 2019 • 2 min read
date-time

Please don't call it Epoch Time

Every so often, I'll come across a StackOverflow question or other Internet posting that says something like: > How do I get the epoch time? Or maybe: > I have an epoch time and I want to get the next day's epoch time. Or even better:

  • Matt Johnson-Pint
Matt Johnson-Pint Oct 4, 2017 • 2 min read
talks

CodeMash 2017

Today, I had the pleasure of speaking at CodeMash 2017. The slides for my talk, entitled "How to Have the Best Dates Ever!" are available here [https://www.dropbox.com/s/78gcn84zubbcvgz/Best%20Dates%20Ever.pdf?dl=1]. I also recorded the presentation, and you can watch it

  • Matt Johnson-Pint
Matt Johnson-Pint Jan 12, 2017 • 1 min read
time-zone

Windows Registry Patch for Egypt 2016 Cancellation of DST

As you may know if you follow my blog, I previously wrote about the recent time zone chaos in Egypt [https://codeofmatt.com/2016/07/01/time-zone-chaos-inevitable-in-egypt/].  In this post I'd like to offer some guidance on what to do about it. On

  • Matt Johnson-Pint
Matt Johnson-Pint Jul 6, 2016 • 3 min read
time-zone

Time Zone Chaos Inevitable in Egypt

I would like to give everyone a heads up about the situation in Egypt.  There is likely to be some confusion over the next week or so about what the local time is in Egypt, and it's entirely possible that the computers of the world may be erroneously

  • Matt Johnson-Pint
Matt Johnson-Pint Jul 1, 2016 • 7 min read
time-zone

On the Timing of Time Zone Changes

What do Turkey, Chile, Russia, Venezuela, Azerbaijan, North Korea and Haiti all have in common? Time Zone Chaos! No, that's not the punchline to a joke.  It's actually quite a serious problem.  The biggest issue with time zones is not that they exist, nor that they

  • Matt Johnson-Pint
Matt Johnson-Pint Apr 23, 2016 • 8 min read
leap-year

List of 2016 Leap Day Bugs

The following is a list of all the bugs caught during leap day, February 29th, 2016.  Each link below references the issue with supporting details where available. If you're looking for information of how to avoid leap year bugs, or examples of disastrous leap year bugs from previous

  • Matt Johnson-Pint
Matt Johnson-Pint Feb 29, 2016 • 4 min read
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

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

Cloud Scalability at CodeMash and on Channel 9

I recently spent some time talking with Seth Juarez of Channel 9 about how to design your applications to scale well in the cloud.Check out the video here! [https://channel9.msdn.com/Blogs/Seth-Juarez/Cloud-Scalability-Patterns-with-Matt-Johnson] I'll also be giving a talk

  • Matt Johnson-Pint
Matt Johnson-Pint Dec 19, 2015 • 1 min read
talks

.NET Rocks!

"Well, Richard..."          "Yeah Buddy," "Guess what time it is?"          "... I ... Don't ... Know !!!" "It's time to... uh..  to.. Hey, what the hell time is it anyway?!!  What's going on!"          "I used to know, or

  • Matt Johnson-Pint
Matt Johnson-Pint Nov 15, 2015 • 1 min read
talks

Seattle Code Camp 2015

I had the privelege of speaking at Seattle Code Camp [http://seattle.codecamp.us] this past weekend.  Thanks to everyone that came out to hear me talk about time and time zones, including Noda Time [http://nodatime.org] and Moment.js [http://momentjs.com].   If you missed it, you can

  • Matt Johnson-Pint
Matt Johnson-Pint Sep 12, 2015 • 1 min read
talks

Hanselminutes

I was recently interviewed by Scott Hanselman for his Hanselminutes podcast. If you're interested in time, especially with .NET, I hope you will listen! Check it out in show #485 [http://www.hanselminutes.com/485/the-problem-with-datetime-nodatime-with-matt-johnson] .

  • Matt Johnson-Pint
Matt Johnson-Pint Jul 24, 2015 • 1 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

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

Beware the Edge (cases) of Time!

Ahh, time zones.  There are so many wonderful traps to fall into. Consider this bit of code, from a recent blog post by Rick Strahl [http://weblog.west-wind.com/posts/2015/Feb/10/Back-to-Basics-UTC-and-TimeZones-in-NET-Web-Apps] : /// <summary> /// Converts a local

  • Matt Johnson-Pint
Matt Johnson-Pint Apr 19, 2015 • 8 min read
.NET

Five Common Daylight Saving Time Antipatterns of .NET Developers

It's 2015, and Daylight Saving Time is just around the corner.  For most of North America, the clocks will "spring-forward" on Sunday, March 8th, stealing an hour of precious time from our daily routine.  A few weeks later, the same thing will occur in much

  • Matt Johnson-Pint
Matt Johnson-Pint Mar 6, 2015 • 9 min read
time-zone

What is a Time Zone?

Almost any time you call up a friend, relative, or business associate in another part of the world, you'll realize that your time isn't always the same as their time, and the reason is "time zones".  You probably know a little about time zones

  • Matt Johnson-Pint
Matt Johnson-Pint Feb 6, 2015 • 7 min read
RavenDB

Working with Date and Time in RavenDB

The following is an article I wrote for the knowledge base on the RavenDB web site [http://ravendb.net/] back in August of 2013.  Recently, the site was revamped and the knowledge base was removed. Since the information is still relevant, I thought it would be worth republishing here.  Enjoy!

  • Matt Johnson-Pint
Matt Johnson-Pint Jan 25, 2015 • 13 min read
productivity

The Magic F4 Key in Microsoft Office

In the "you learn something new every day" department, I was working in Excel today and had to look up some obscure way to manipulate a pie chart [http://chandoo.org/wp/2009/12/02/group-small-slices-in-pie-charts/].  The resource helped me solve the problem

  • Matt Johnson-Pint
Matt Johnson-Pint Jan 15, 2015 • 1 min read
.NET

Localized time zone names in .NET

If you've ever used the TimeZoneInfo class in the .NET framework, you probably know that it has properties intended for display of a time zone to the end user.  Specifically, these are the DisplayName, StandardName, and DaylightName properties. However, there are a few problems with these. * Unlike many

  • Matt Johnson-Pint
Matt Johnson-Pint Dec 26, 2014 • 3 min read
time-zone

Russia 2014 Time Zone Changes

Are you prepared for Russia's major time zone changes [http://www.timeanddate.com/news/time/russia-abandons-permanent-summer-time.html] ? If you are either in Russia yourself, or interact with Russian customers or users, you will need to ensure your time zone data has been updated before

  • Matt Johnson-Pint
Matt Johnson-Pint Sep 23, 2014 • 1 min read
talks

Pluralsight - Date and Time Fundamentals

I'm happy to announce that the video course I've been working on for Pluralsight, "Date and Time Fundamentals" [http://pluralsight.com/training/Courses/TableOfContents/date-time-fundamentals] has finally been released! Here's one of my favorite slides: But seriously - There's

  • Matt Johnson-Pint
Matt Johnson-Pint Sep 13, 2014 • 1 min read
talks

Seattle Code Camp

I'll be speaking this Saturday at Seattle Code Camp about several issues that time zones can create in your applications.  If you are near the Puget Sound area, please come out and see my talk [https://seattle.codecamp.us/Sessions/Details/6422], and many other interesting sessions [https:

  • Matt Johnson-Pint
Matt Johnson-Pint Sep 10, 2014 • 1 min read
time-zone

UTC vs GMT

I'm not going to dive into a history lesson here.  This is about practical, usable information in today's modern world.  You can always go read more about GMT [http://en.wikipedia.org/wiki/Greenwich_Mean_Time] and UTC [http://en.wikipedia.org/wiki/Coordinated_Universal_Time]

  • Matt Johnson-Pint
Matt Johnson-Pint Jun 18, 2014 • 1 min read
Code of Matt © 2026
Powered by Ghost