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: I changed| Code of Matt
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 about it. On Microsoft Windows desktop or server operating systems, you may find that| Code of Matt
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| Code of Matt
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| Code of Matt
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"); Or these? var d1 = new Date("2015/06/| Code of Matt
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'll notice these have been organized a bit| Code of Matt
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] .| Code of Matt
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.| Code of Matt
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 on YouTube| Code of Matt
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 years, please| Code of Matt
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 on this subject at CodeMash in Ohio, Jan| Code of Matt
"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 I used to think I knew. I just don't know any more!" "I don't know either." MISSION| Code of Matt
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| Code of Matt
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 my full-time job for| Code of Matt
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| Code of Matt