Returns the time remaining before an auction listing expires


See also Auction functions.

Signature:

duration = GetAuctionItemTimeLeft("list", index)

Arguments:

  • list - Type of auction listing (string)

    • bidder - Auctions the player has bid on
    • list - Auctions the player can browse and bid on or buy out
    • owner - Auctions the player placed

  • index - Index of an auction in the listing (number)

Returns:

  • duration - General indication of the amount of time remaining on the auction (number)
    • 1 - Short (less than 30 minutes)
    • 2 - Medium (30 minutes to 2 hours)
    • 3 - Long (2 hours to 12 hours)
    • 4 - Very Long (more than 12 hours)