def formatTime(longtime):
'''格式化时间的函数'''
import time
return time.strftime("%Y-%m-%d %H:%M:%S",time.localtime(longtime))
格式化时间函数代码
猜你喜欢
转载自blog.csdn.net/qq_45172832/article/details/105342376
今日推荐
周排行