Adds helper method to deal with Dates