반응형
[iOS] DateFormat > Hour > hh / h / HH / H 차이
Time Format 중 Hour를 헷갈렸어서 정리 [ 요약 ] - HH: 24 hour format / 무조건 2자리 (필요할 경우, 앞에 0 붙여줌) - hh : 12 hour format / 무조건 2자리 (필요할 경우, 앞에 0 붙여줌) - H : 24 hour format / 1~2 자리 - h: 12 hour format / 1~2 자리 [ 실험 ] 우선 플레이그라운드를 열고 준비를 합니다. Case 1. let sampleDate = date(year: 2021, month: 7, day: 5, hour: 22, minute: 30)! print(DateFormatter.time_HHmm.string(from: sampleDate)) // 22:30 print(DateFormatter.tim..
🍏/iOS
2021. 7. 5. 16:10
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- Python Type Hint
- SerializerMethodField
- Flutter Clipboard
- 장고 URL querystring
- flutter build mode
- Django Firebase Cloud Messaging
- Sketch 누끼
- flutter deep link
- Flutter Text Gradient
- Flutter Spacer
- ipad multitasking
- Flutter getter setter
- github actions
- Dart Factory
- Django FCM
- Watch App for iOS App vs Watch App
- PencilKit
- 플러터 싱글톤
- cocoapod
- 장고 Custom Management Command
- flutter 앱 출시
- 플러터 얼럿
- flutter dynamic link
- ribs
- DRF APIException
- Flutter 로딩
- drf custom error
- METAL
- 구글 Geocoding API
- Django Heroku Scheduler
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함