Blog: How to count days of a certain type between two dates
A friend asked me if I knew how to count how many of a certain day exist between two dates, and I had no idea. But I thought it would make for an interesting problem to look into and here is the Ruby code that does just that.