Some of the world's most advanced AI systems struggle to tell the time and work out dates on calendars, a study suggests.