adding dateType call for assertion