update dated time check to include values