Added support for datetime

This adds support for DateTimeField as a preference.