The calendar calculations are based on the system date/time, meaning the system should rollover/refresh at 12:00 am.