time.strptime parses string and returns it in struct_time format : time.struct_time(tm_year=2019, tm_mon=8, tm_mday=6, tm_hour=0, tm_min=0, tm_sec=0, tm_wday=1, tm_yday=218, tm_isdst=-1) datetime 模塊 與time模塊類似,datetime模塊包含處理日期和時間所必需的所有方法。
www.dbjr.com.cn/article/2651...htm 2025-5-31