fixed time displacement by one day; added statistics of today; added parameter for timezone of database