Adds a datetime model attribute type.