convert date param to date object
Release 0.1.3