fixed Issue #32

fixed timezone issue parsing date in 'YYYY-MM-DD'
Added validation to From and To Dates