Lukasz Posted April 8 Report Posted April 8 Hi all, I have a question, tradeInitTime in getExchangeDetails([getDetailsIfFailed, ]callback) - tradeInitTime - A Date object representing when Steam began processing the item exchange. If this trade was held, then this is the time when Steam began removing items from both parties' inventories, i.e. the time when the trade went into escrow. but this is a return in my local timezone and I want this value to calculate when item ll be tradeable (always 7GMT). Is there a way to switch this tradeInitTime to GMT instead of local? Or maybe there is a way to just get the traeable_after time Thanks Quote
Dr. McKay Posted April 9 Report Posted April 9 It's a Date object. You can use its UTC methods to manipulate the object in UTC/GMT. Quote
Lukasz Posted April 9 Author Report Posted April 9 Ooh, something new for me, awesome thanks ❤️ Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.