from datetime import datetime, date, timedelta, timezone from time import time, ctime, localtime, strftime, strptime, mktime ''' %Y %m %d %H %M %S 年月日时分秒 %A %a 全写星期 简写星期 ''' # 生成当前时区日期事件字符串 tct = ctime() print(tct,type(tct)) print(tct.strip(),type(tc…