Add methods for DateTime