format date of event