반응형
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- 파이썬
- dataframe
- matplotlib
- Excel
- google apps script
- hive
- string
- GIT
- SQL
- Google Excel
- PostgreSQL
- numpy
- Tkinter
- django
- Redshift
- Python
- Java
- PySpark
- math
- c#
- array
- gas
- PANDAS
- Google Spreadsheet
- Apache
- Github
- list
- Mac
- Kotlin
Archives
- Today
- Total
목록microsecond (1)
달나라 노트
Python datetime : time class(시간 객체) & hour, minute, second, microsecond(시간, 분, 초, 마이크로초 attribute)
import datetime a = datetime.time() print(a) b = datetime.time(12, 34, 56) print(b) c = datetime.time(hour = 12, minute = 34, second = 56,) print(c) d = datetime.time(12, 34, 56, 123456) print(d) - Result 00:00:00 12:34:56 12:34:56 12:34:56.123456 datetime module에는 time이라는 class가 존재합니다. time method는 time class의 생성자(Constructor)이며 시간, 분, 초의 세 가지 parameter를 기본적으로 받고, 거기에 추가로 d처럼 1초 미만의 소수점 초까지 par..
Python/Python datetime
2020. 12. 23. 02:40