Brought database to date
Starting work on night hours bug