init ddatetime class