Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Timestamp challenges

Timestamp challenges

Scheduled Pinned Locked Moved C / C++ / MFC
c++databasehelptutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rexpiper
    wrote on last edited by
    #1

    I really need some help with this one. I have wasted too much time and not made much progress. What I am trying to do is to read a timestamp from index.dat generated by Internet Explorer. The timestamp is in the file in the following format "00 14 AC 72 BE 95 C2 01". A document I read takes the value and reverses the order so that the value is "0x01C295BE72AC1400" and then passes it into the w32tm function as follows: "w32tm /ntte 0x01c295BE72AC1400" and gets a return of "146792 02:41:12.0000000 11/26/2002 8:41:12 PM (local time)". I'm trying to accomplish this within my Visual C++ program but just can't get it. I'm certain there are others out there who are smarter and more experienced when it comes to such issues. I just want to be able to read the data from the file and pass it into asctime to get a meaningful date and time stamp. Does anyone know how to accomplish this? Many Thanks

    D 1 Reply Last reply
    0
    • R rexpiper

      I really need some help with this one. I have wasted too much time and not made much progress. What I am trying to do is to read a timestamp from index.dat generated by Internet Explorer. The timestamp is in the file in the following format "00 14 AC 72 BE 95 C2 01". A document I read takes the value and reverses the order so that the value is "0x01C295BE72AC1400" and then passes it into the w32tm function as follows: "w32tm /ntte 0x01c295BE72AC1400" and gets a return of "146792 02:41:12.0000000 11/26/2002 8:41:12 PM (local time)". I'm trying to accomplish this within my Visual C++ program but just can't get it. I'm certain there are others out there who are smarter and more experienced when it comes to such issues. I just want to be able to read the data from the file and pass it into asctime to get a meaningful date and time stamp. Does anyone know how to accomplish this? Many Thanks

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      If you know VB, you might take a peek at the ie.vbs file that accompanies this article.


      "Ideas are a dime a dozen. People who put them into action are priceless." - Unknown

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups