add datetime extension