Fixed bug with reading the current date during midday startup