import time # 取得struct_time 格式的時間 t = time.localtime() # 依指定格式輸出 result = time.strftime("%m/%d/%Y, %H:%M:%S", t) print(result)
確定! 回上一頁