Automatic calcul of start and end time of day, and add of keynote format