Support DateTime as argument on constructor

When you have a date field, it comes from the database as a DateTime instance.