์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- SwiftUI
- realm
- visionOS
- ๋ฐฑ์ค
- BOJ
- Kuring
- TCA
- raywenderlich
- UIKit
- combine
- CollectionView
- MVVM
- SnapKit
- ํจ์คํธ์บ ํผ์ค
- swift
- RxSwift
- XCTest
- reactorkit
- arkit
- Flutter
- Swfit
- rxcocoa
- ํ๋ก๊ทธ๋๋จธ์ค
- BFS
- node.js
- Xcode
- designpattern
- ios
- tableView
- Lv2
Archives
- Today
- Total
๋ชฉ๋กlocaltime (1)
lgvv98
[iOS] UTC to localTime ๐บ
โ ์ด๋ฒ์๊ฐ์ UTC ์๊ฐ์ Local ์๊ฐ์ผ๋ก ๋ฐ๊พธ๋ ๊ณผ์ ์ ์์๋ณด์. ๐ ์ ํ ๋ฌธ์ ์ฐธ๊ณ https://developer.apple.com/documentation/foundation/timezone/ Apple Developer Documentation developer.apple.com โ UTC to local Time import Foundation import UIKit extension Date { private static func utcToLocal(_ dateStr: String) -> String? { let dateFormatter = DateFormatter() dateFormatter.dateFormat = "HH:mm:ss" dateFormatter.timeZone = Tim..
โ ๏ธ deprecated โ ๏ธ
2022. 2. 19. 03:12