The calculation of the alarm time is now done without a reference day