Jonathan Wood

Description:I'm a software and website developer working out of the greater Salt Lake City area of Utah. I've developed many websites including Black Belt Coder, Trail Calendar, and others.

I hike each week with my dogs Suki and Sasha. You can see my hiking blog at Hiking Salt Lake.
Time Zone:Mountain Standard Time


A Friendly DateTime Formatter
Many websites have the ability show a date and time formatted as "2 minutes ago", "1 hour ago", or "Yesterday at 2:30P". Here's a class I wrote to format dates and times this way. It even supports dates and times in the future.
By Jonathan Wood • Created on Friday, March 25, 2011
Converting Between Integers and Spreadsheet Column Labels
Instead of numbers, spreadsheet programs use a system of letters to label columns. Here's a handy routine that can convert an integer value to a column label, and also convert column labels back to integers.
By Jonathan Wood • Created on Monday, April 11, 2011
Creating a User-Friendly TimeSpan String
The .NET TimeSpan class is great for keeping track of the difference between two instances of DateTime. However, while TimeSpan has a lot of formatting options, none of them produce a very user-friendly result. Here's a class I wrote to produce a much friendly description from a TimeSpan.
By Jonathan Wood • Updated on Tuesday, October 09, 2012
A C# Command-Line Parser
.NET applications can use Environment.CommandLine to access any command-line arguments that were supplied to the program. However, there's more work to do if your command line support many options. Here's a command-line parser class to make it easy.
By Jonathan Wood • Created on Tuesday, March 22, 2011
Advanced Message Map Techniques
This article describes a few, more advanced message map techniques that are not implemented automatically by the MFC Wizards.
By Jonathan Wood • Updated on Saturday, December 04, 2010
Implement Accelerators in an MFC Dialog Box
Menus within MFC dialog boxes do not, by default, support accelerators. This articles shows the simple change required to implement accelerators in a dialog box.
By Jonathan Wood • Updated on Sunday, December 12, 2010
Redirecting to WWW on ASP.NET 4.0 and IIS7
Simple way to redirect pages to URL with a WWW prefix.
By Jonathan Wood • Updated on Tuesday, December 07, 2010
Reading and Writing CSV Files in MFC
Here's a handy class for working with comma-separated values (CSV) files.
By Jonathan Wood • Updated on Friday, December 17, 2010
An LCD Control
This article presents a simple user control that emulates an LCD display. You can use it to create a mechanical look to your data display.
By Jonathan Wood • Updated on Friday, December 31, 2010
A Simple CSS Parser
I recently encountered a question on stackoverflow about parsing CSS. Although I've written a bunch of parsing routines, I'd never thought to parse CSS. I've never had a reason to do so. Still, I had a bit of time and thought it might be interesting to put something together.
By Jonathan Wood • Created on Thursday, August 22, 2013
First ... 6 7 8 9 Last