I just did some experimentation. It does not appear to be the date-time stamp on the file. I just copied the cookie file and trashed the original cookie file and the browser could see my cookie just fine. It must be as you suggest some relation between index.dat and the cookie file.
Still looking.