close
import datetime
import time
a=time.localtime(time.time())
print(a)
b=time.asctime(time.localtime(time.time()))
print(b)
import calendar
cal=calendar.month(2018,8)
print(cal)
time.struct_time(tm_year=2018, tm_mon=8, tm_mday=6, tm_hour=17, tm_min=18, tm_sec=46, tm_wday=0, tm_yday=218, tm_isdst=0)
Mon Aug 6 17:18:46 2018
August 2018
Mo Tu We Th Fr Sa Su
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
文章標籤
全站熱搜
留言列表