引入模块——import datetime。 1.datetime转字符串——strftime()函数. 有两种写法: datetime.datetime.strftime(datatime对象,格式 ...
確定! 回上一頁