Added 'daily' option to PERIOD_STATISTICS.