added version for DateTime check