日期获取
>>> import time
>>> time.strptime("2019-9-1", "%Y-%m-%d")
time.struct_time(tm_year=2019, tm_mon=9, tm_mday=1, tm_hour=0, tm_min=0, tm_sec=0, tm_wday=6, tm_yday=244, tm_isdst=-1)
>>> time.strptime("2019-9-1", "%Y-%m-%d")[0]
2019
>>> time.strptime("2019-9-1", "%Y-%m-%d")[2]
1