Renamed DateType type to Date and Date function to DateOf