获取当前的日期 程序实例:
import time # 使用struct_time获取年月日 timestamp = time.time() strct_time = time.localtime(timestamp) year = strct_time.tm_year month = strct_time.tm_mon day = strct_time.tm_mday print(f"今天{year}年{month}