setConfigEntry('ONE_DAY', (60*60*24));
// Current date
-setConfigEntry('CURRENT_DATE', generateDateTime(time(), '3'));
+setConfigEntry('CURRENT_DATE', generateDateTime(time(), 3));
// Timestamp for yesterday, today ... all at 00:00 am
setConfigEntry('START_YDAY', makeTime(0, 0, 0, time() - getConfig('ONE_DAY')));