Register
Results 1 to 3 of 3
  1. #1

    AuctionDb - Time since last scan

    Just a simple question out of curiosity:

    How exactly is the "Time since last scan" portion of the stored data in auctionDB encoded? After deserializing its an integer like "1298902780" - how should that be interpreted?

    (passed time in seconds / ticks, some strange kind of dateTime encoding, ...)

  2. #2
    Sapu94's Avatar
    Posts
    7,114
    Reputation
    345
    Blog Entries
    25
    Tagged in
    1928 Posts
    Add to this user's reputation
    it's actually not time since last scan...it's the time of the last scan since epoch (January 1st 1970) which is simply a time that is independent of the server / computer the game is being run on.


    Follow me and TSM on Twitter for important updates, news, and giveaways!
    TSM Website | /r/woweconomy & TSM Discord | Go Premium | TSM FAQ

    "A good programmer is someone who always looks both ways before crossing a one-way street."

  3. #3
    Ah ok makes sense, otherwise it would need constant updating...

    I figured out the rest by myself, its the time in total seconds since epoch.

 

 

Similar Threads

  1. getall scan, which addon to use?
    By Sponsor in forum Archive (Addons and Macros)
    Replies: 9
    Last Post: March 29th, 2011, 10:49 AM
  2. AuctionDB market value fomula.
    By Mr Alpha in forum General TradeSkillMaster Discussion
    Replies: 1
    Last Post: March 16th, 2011, 02:35 PM
  3. TSM crafting cost vs auctiondb/auctioneer minimum buyout value, and the AH
    By MrBlah in forum General TradeSkillMaster Discussion
    Replies: 4
    Last Post: March 9th, 2011, 03:41 PM
  4. Real Time Search and Quick Scan Snatch
    By Zirekyle in forum Archive (Addons and Macros)
    Replies: 8
    Last Post: March 7th, 2011, 08:27 AM
  5. Scan AH for just my snatch list?
    By Fizwib47 in forum Archive (Addons and Macros)
    Replies: 8
    Last Post: January 20th, 2011, 02:14 PM