Code of Matt
  • About the Author
Matt Johnson-Pint

Matt Johnson-Pint

40 posts •
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
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

  • Matt Johnson-Pint
    Matt Johnson-Pint
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

  • Matt Johnson-Pint
    Matt Johnson-Pint
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. I also recorded the presentation, and you

  • Matt Johnson-Pint
    Matt Johnson-Pint
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.  In this post I'd like to offer some guidance on what to do

  • Matt Johnson-Pint
    Matt Johnson-Pint
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

  • Matt Johnson-Pint
    Matt Johnson-Pint
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

  • Matt Johnson-Pint
    Matt Johnson-Pint
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

  • Matt Johnson-Pint
    Matt Johnson-Pint
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

  • Matt Johnson-Pint
    Matt Johnson-Pint
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! I'll also be giving

  • Matt Johnson-Pint
    Matt Johnson-Pint
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
1 min read
talks

Seattle Code Camp 2015

I had the privelege of speaking at Seattle Code Camp this past weekend.  Thanks to everyone that came out to hear me talk about time and time zones, including Noda Time and Moment.

  • Matt Johnson-Pint
    Matt Johnson-Pint
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.

  • Matt Johnson-Pint
    Matt Johnson-Pint
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("

  • Matt Johnson-Pint
    Matt Johnson-Pint
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: /// <summary> /// Converts a local machine time

  • Matt Johnson-Pint
    Matt Johnson-Pint
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

  • Matt Johnson-Pint
    Matt Johnson-Pint
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

  • Matt Johnson-Pint
    Matt Johnson-Pint
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 back in August of 2013.  Recently, the site was revamped and the knowledge base was removed. Since

  • Matt Johnson-Pint
    Matt Johnson-Pint
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.  The resource helped me solve

  • Matt Johnson-Pint
    Matt Johnson-Pint
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

  • Matt Johnson-Pint
    Matt Johnson-Pint
3 min read
time-zone

Russia 2014 Time Zone Changes

Are you prepared for Russia's major time zone changes? If you are either in Russia yourself, or interact with Russian customers or users, you will need to ensure your time zone data has

  • Matt Johnson-Pint
    Matt Johnson-Pint
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" has finally been released! Here's one of my favorite slides: But seriously - There's a

  • Matt Johnson-Pint
    Matt Johnson-Pint
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

  • Matt Johnson-Pint
    Matt Johnson-Pint
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 and UTC on Wikipedia. What

  • Matt Johnson-Pint
    Matt Johnson-Pint
1 min read
time-zone

Egypt goes back to Daylight Saving Time

With only a week's notice, the government of Egypt has decided to go back to daylight saving time - effective today.  That's right, it was casually announced on May 7th, and went into

  • Matt Johnson-Pint
    Matt Johnson-Pint
1 min read
Code of Matt © 2021
Latest Posts Twitter Ghost