How To: Convert Day Number to Month and Day

I needed to convert the day number, that is, what day it is between 1 and 365, into a month and day without using Calendar / DateTime classes and such today, so I knocked up a few simple functions that work assuming it’s not a leap year (i.e. that February has 28 days).

Here they are if they’re of any use to you:

A touch cheap, but it gets the job done.

How To: Fix Thunderbird failing to open HTTP / HTTPS links

If you recently upgraded Thunderbird to v52 onwards and all links in emails stopped working (i.e. clicking on a link doesn’t open them in your browser) then you can fix it like this:

  1. In Thunderbird, go to Tools | Clear Recent History and clear everything (this just removes your usage history, not any emails), then
  2. Close Thunderbird, go into your profile folder (i.e. where the emails are stored) and delete all the places.sqlite files.

Tap-tap. Job done.