Create class Date