BitTrex Time Format and Time Zone

What time / time zone format does the BitTrex API use?

I did not find the answer in the documentation https://bittrex.com/home/api

Data examples: Created at https://bittrex.com/api/v1.1/public/getmarkets

For other cryptographic markets, I can use the following code:

let isoDateFormater = ISO8601DateFormatter()
var created: Date?
if let isoTimeString = row["Created"] as? String {
    created = isoDateFormater.date(from: isoTimeString)
}

What does not work for BitTrex:

isoTimeStringset correctly, createdremains zero, since the format is not ISO.

While I could easily guess the formatting of work dates, I also need to guess the time zone. Is there any final documentation, what time zone is used in the BitTrex API?

In the answer I do not need a quick code, a description is enough.

Edit BitTrex, .

+4
2

, GMT UTC, , .

+2

. " ", .

0

Source: https://habr.com/ru/post/1689822/


All Articles