0

I have installed the data module in order to create some data tables, but I have noticed that there is no datetime type given in the user interface, so how can I add some datatime fields to my data tables with the use od data module?

1

To get date and time data types in the Drupal that can be used in fields, etc., install the Date module in addition to the Data module.

0

If everything else fails, as a dirty workaround, you can set the date field to be a varchar, with the exact date/time format you want. It is not the best solution ever, but seemed to be working properly in a project I did while ago. I couldn't run Date field as well and as far as I remember, there was a reported bug, leading towards the "Schema" module.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.