added ability to pass start date view to date