#585 add ability to setDate with date string