change internal member variable type of class 'DateTime'