Add support for string mode date data

-Item startdate and enddate can be given also as strings