Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Determining the modified date for an IE favorite

Status
Not open for further replies.

rbrunton

Programmer
Jan 16, 2003
7
CA
IE favorites are URL files that are essentially text files. They look like:
Code:
[DEFAULT]
BASEURL=http://www.controlzed.com/areality/le_saver.html
[InternetShortcut]
URL=http://www.controlzed.com/areality/le_saver.html
Modified=00777B2D837CC001DF
Does anyone know how the hexadecimal number following "Modified=" is translated into a date?

I have tried reading it as an _int64, and then plugging it into a CTime object, reading it as an ULARGE_INTEGER and treating it like a FILETIME (high part = high part, ...), using FileTimeToSystemTime to translate it into a system time, all to no avail.

Any help would be most appreciated.

TIA

Ron
 
Thanks PencilBiter,

This helped a bit, but there are still big holes and the solution doesn't give the accuracy I'd like.

I continue to be very puzzled. If I open the favorite file in a text editor I see displayed what I initially posted. I then use IE to go to the site and then take a look at "Organize Favorites". I see there that it increments the number of times I have visited the site and the date and time stamp of the visit. Howerver, there is no change in the contents of the URL favorite file. So where is IE getting the information to be displayed in "Organize Favorites"? I have searched for any files on my hard drive that contain the specific URL ( but the search only turns up the favorite file that hasn't changed.

The MSDN site has a link ( ) that states "The Microsoft® Internet Explorer Favorites file format is exactly the same as the Netscape Bookmark file format. ", but this doesn't seem to be true.

I've been searching for answers to this for quite some time. I think I keep on getting closer, but the actual solution remains elusive.

Ron
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top