added a method to return a short format for date