Added miscellaneous methods for date and datetime fields