Does anyone know of a way to get a users time zone in Swift?
I'm getting a specific time something is on t.v. out of a database and then need to subtract/add from where they are located to …
It seems setDefaultTimeZone method is no longer available in NSTimeZone. Does someone know a substitute for this?
In my AppDelegate.swift, I have:
NSTimeZone.default = TimeZone(abbreviation: "BST")!
and it works as intended I guess because in all the other …
If I only have the city name like Bangkok or Tokyo, how can I supply a timezone parameter in
[NSTimeZone timeZoneWithName:@"Asia/Tokyo"] where it also has continent and slash in front of city?
I already tried [NSTimeZone timeZoneWithName:@"Tokyo"], …