-
Forum
-
메인 게시판
-
Tips
-
파이썬(Python)에서 현재 시간 표시
파이썬(Python)에서 현재 시간 표시
-
helloworld
(stdio.h)
-
이 글의 작성자
-
Offline
-
Junior
-
덜보기
더보기
-
Posts: 117
-
Thank you received: 24
-
-
22 Aug 2017 16:55 - 22 Aug 2017 16:57 #2684
작성자: helloworld
import time
thisTime1=time.strftime("%Y-%m-%d")
thisTime2=time.strftime("%H:%M:%S")
thisTime3=time.strftime("%I:%M:%S")
print(thisTime1)
print(thisTime2)
print(thisTime3)
결과
2017-08-22
16:55:53
04:55:53
-
Forum
-
메인 게시판
-
Tips
-
파이썬(Python)에서 현재 시간 표시
Time to create page: 0.050 seconds