date命令的毫秒/微秒/纳秒 #48
guodongxiaren
started this conversation in
教程
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
date命令可以展示纳秒(用%N)
1000纳秒=1微秒
显示:
保留前三位即为毫秒,保留前三位即为微秒
显示:
python的日志字符串中没有%N。用%f获取毫秒时间
Beta Was this translation helpful? Give feedback.
All reactions