Adding method to format dates using dd MMM yyyy