Refactor DateTimeField.