Handle command date parameter

Can pass year, month and day and will start fetching from that date.
If not parameter passed, will get last date on database.
If there is not data in DB will start from 1960-1-1.