Add methods to handle dates easily in event.