create a new date in mm-dd-yyyy format when clicked on new post