티스토리 뷰
1 2 3 4 5 6 7 8 9 10 11 12 | NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; [formatter setDateFormat:@"yyyy-MM-dd hh:mm:ss"]; NSString *strDate = [formatter stringFromDate:[NSDate date]]; NSLog(@"%@", strDate); NSString *strDate = @"2011-12-04"; NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; [strDate setDateFormat:@"yyyy-MM-dd"]; NSDate *date = [[NSDate alloc] init]; date = [date dateFromString:date]; NSLog(@"%@", [date description]); | cs |
'프로그래밍 > ios' 카테고리의 다른 글
Objective-C style guide (0) | 2016.08.30 |
---|---|
[xcode] 설정 Reset 하기 (0) | 2016.05.19 |
UITebleView row 삭제할 때 (0) | 2015.09.22 |
[ios] Find the current top view controller for your iOS application (0) | 2015.06.05 |
[IOS] KEYBOARD 화면 이동 (0) | 2015.06.04 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 아이콘 사이즈
- custom font
- 킹스맨
- android jar
- 막국수
- git flow
- Xcode
- 엘지
- resize
- ios
- 참나무숯불닭갈비
- 안드로이드
- 남자화장품
- cocoapods
- serialize
- Re:NK
- xcode7
- 봄봄봄
- 리엔케이
- Android
- ShardPreferenes
- 안드로이드 라이브러리
- 가평휴게소
- xcode8
- gitgub
- 코드 하이라이트
- keyboard
- 휴게소
- ListView
- crop
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함