Swift Cheat Sheet for Dates, Formatters, & Date Components

Working with NSDate, NSDateFormatter, and NSDateComponents can be a little convoluted, so I’ve created myself a cheat sheet that will be updated as I discover new tips and tricks in this realm. The new cheat sheet can be found over at GitHub in the form of an Xcode Playground: Resources Swift Dates Cheat Sheet Playground […]

Date, Date?, and the ToString Method in VB.Net

I just spent the last 45 minutes frustrated as to why I was getting the following exception “Input string was not in a correct format.” and “[InvalidCastException: Conversion from string “MMMM dd, yyyy” to type ‘Integer’ is not valid.] I kept thinking to myself, “How hard can this possibly be?!!  I’ve done this a thousand […]