Convert datetime to str when creating a DTA

Closes #71
Merge pull request #72 from guewen/8.0-create-dta-date-error

Convert datetime to str when creating a DTA