datetime.datetime.fromtimestamp(os.path.getmtime(l)).strftime('%Y-%m-%d')
https://stackoverflow.com/questions/19501711/how-can-i-convert-os-path-getctime
python 时间戳转datetime
阅读 74
2023-04-17
datetime.datetime.fromtimestamp(os.path.getmtime(l)).strftime('%Y-%m-%d')
https://stackoverflow.com/questions/19501711/how-can-i-convert-os-path-getctime
相关推荐
精彩评论(0)