add more methods for datetime-class