Adding datetime field type and element template.