Added daily task reporting, unified the date functions