updating Date to DateTime