💵
Hi there! I have been working as an iOS developer for over 3 years and I have a strong background in both outsourcing and in-house development.
-
X5 Tech
- Saint-Petersburg
- [email protected]
- in/andrei-didenko
Pinned Loading
-
-
OpemWeatherMap - API TimeZone Format...
OpemWeatherMap - API TimeZone Formatter - Swift 1func unixToDateTimeZone(time: Double, timeZone: Int) -> String {
2let date = Date(timeIntervalSince1970: time) // create date from unix time interval
3let dateFormatter = DateFormatter() // create date fotmatter
4dateFormatter.dateFormat = "HH:mm" // set format output
5dateFormatter.timeZone = TimeZone(secondsFromGMT: offset) // set time zone
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.