Add datetime when a schedule is added or modified