企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
``` from time import * now = strftime("%A,%d.%D %Y %I:%M%p",localtime()) print(now) now1 = strftime("%Y-%m-%d %H:%M:%S", localtime()) print(now1) print(localtime()) now2 = strftime("%D",localtime()) print(now2) ``` ``` from time import * now = strftime("%A,%d.%D %Y %I:%M%p",localtime()) print(now) now1 = strftime("%Y-%m-%d %H:%M:%S", localtime()) #print(now1) #print(localtime()) now2 = strftime("%x %% %X",localtime()) print(now2) ``` ``` from time import * now = strftime("%A,%d.%D %Y %I:%M%p",localtime()) print(now) now1 = strftime("%Y-%m-%d %H:%M:%S", localtime()) #print(now1) #print(localtime()) #now2 = strftime("%x %% %X",localtime()) now2 = strftime("%x %% %X %Z %z %W %w %U %j %c %C %B %b %a %y",localtime()) print(now2) ``` ``` from time import * now = strftime("%A,%d.%D %Y %I:%M%p",localtime()) print(now) now1 = strftime("%Y-%m-%d %H:%M:%S", localtime()) #print(now1) #print(localtime()) #now2 = strftime("%x %% %X",localtime()) now2 = strftime("%x %% %X %Z %z %W %w %U %j %c %C %B %b %a %y",localtime()) print(now2) ```