Added datetime type extension