New method in date class