尝试
datetime.fromtimestamp(statResult.st_mtime)
例如
import datetimemod_timestamp = datetime.datetime.fromtimestamp(path.getmtime(<YOUR_PATH_HERE>))
欢迎分享,转载请注明来源:内存溢出
尝试
datetime.fromtimestamp(statResult.st_mtime)
例如
import datetimemod_timestamp = datetime.datetime.fromtimestamp(path.getmtime(<YOUR_PATH_HERE>))
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)