티스토리 뷰
728x90
%a | 요일을 로케일의 축약된 이름으로. |
Sun, Mon, …, Sat (en_US);
So, Mo, …, Sa (de_DE)
|
(1) |
%A | 요일을 로케일의 전체 이름으로. |
Sunday, Monday, …, Saturday (en_US);
Sonntag, Montag, …, Samstag (de_DE)
|
(1) |
%w | 요일을 10진수로, 0은 일요일이고 6은 토요일입니다. | 0, 1, …, 6 | |
%d | 월중 일(day of the month)을 0으로 채워진 10진수로. | 01, 02, …, 31 | (9) |
%b | 월을 로케일의 축약된 이름으로. |
Jan, Feb, …, Dec (en_US);
Jan, Feb, …, Dez (de_DE)
|
(1) |
%B | 월을 로케일의 전체 이름으로. |
January, February, …, December (en_US);
Januar, Februar, …, Dezember (de_DE)
|
(1) |
%m | 월을 0으로 채워진 10진수로. | 01, 02, …, 12 | (9) |
%y | 세기가 없는 해(year)를 0으로 채워진 10진수로. | 00, 01, …, 99 | (9) |
%Y | 세기가 있는 해(year)를 10진수로. | 0001, 0002, …, 2013, 2014, …, 9998, 9999 | (2) |
%H | 시(24시간제)를 0으로 채워진 십진수로. | 00, 01, …, 23 | (9) |
%I | 시(12시간제)를 0으로 채워진 십진수로. | 01, 02, …, 12 | (9) |
%p | 로케일의 오전이나 오후에 해당하는 것. |
AM, PM (en_US);
am, pm (de_DE)
|
(1), (3) |
%M | 분을 0으로 채워진 십진수로. | 00, 01, …, 59 | (9) |
%S | 초를 0으로 채워진 10진수로. | 00, 01, …, 59 | (4), (9) |
%f | Microsecond as a decimal number, zero-padded to 6 digits. | 000000, 000001, …, 999999 | (5) |
%z | ±HHMM[SS[.ffffff]] 형태의 UTC 오프셋 (객체가 나이브하면 빈 문자열). | (비어 있음), +0000, -0400, +1030, +063415, -030712.345216 | (6) |
%Z | 시간대 이름 (객체가 나이브하면 빈 문자열). | (비어 있음), UTC, GMT | (6) |
%j | 연중 일(day of the year)을 0으로 채워진 십진수로. | 001, 002, …, 366 | (9) |
%U | Week number of the year (Sunday as the first day of the week) as a zero-padded decimal number. All days in a new year preceding the first Sunday are considered to be in week 0. | 00, 01, …, 53 | (7), (9) |
%W | Week number of the year (Monday as the first day of the week) as a zero-padded decimal number. All days in a new year preceding the first Monday are considered to be in week 0. | 00, 01, …, 53 | (7), (9) |
%c | 로케일의 적절한 날짜와 시간 표현. |
Tue Aug 16 21:30:00 1988 (en_US);
Di 16 Aug 21:30:00 1988 (de_DE)
|
(1) |
%x | 로케일의 적절한 날짜 표현. |
08/16/88 (None);
08/16/1988 (en_US);
16.08.1988 (de_DE)
|
(1) |
%X | 로케일의 적절한 시간 표현. |
21:30:00 (en_US);
21:30:00 (de_DE)
|
(1) |
%% | 리터럴 '%' 문자. | % |
https://docs.python.org/ko/3/library/datetime.html
728x90
'공부' 카테고리의 다른 글
[aws] emr spark config (0) | 2022.08.19 |
---|---|
[github] events that trigger workflows (0) | 2022.08.18 |
[python] pandas loc - filter for list of values (0) | 2022.08.18 |
[python] How to convert an HH:MM:SS time string to seconds in Python? (0) | 2022.08.18 |
[python] convert string date to timestamp (0) | 2022.08.18 |
댓글
250x250
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- 테슬라 리퍼럴 코드 혜택
- 테슬라 레퍼럴 코드 확인
- 책그림
- 유투브
- follower
- 테슬라 리퍼럴 코드 생성
- 모델y
- 연애학개론
- 개리마커스
- 테슬라 레퍼럴 적용 확인
- 레퍼럴
- 인스타그램
- 테슬라 크레딧 사용
- 메디파크 내과 전문의 의학박사 김영수
- wlw
- 테슬라 레퍼럴
- 테슬라 리퍼럴 코드
- 할인
- Bot
- Kluge
- COUNT
- 어떻게 능력을 보여줄 것인가?
- 테슬라 추천
- 팔로워 수 세기
- 테슬라
- 모델 Y 레퍼럴
- 클루지
- 김달
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함