parsing event for date