该命令将输出以下内容:
date --iso-8601=ns
2025-04-04T12:10:16,045431370+02:00
据man date
记载ns
如下:
-I[FMT], --iso-8601[=FMT]
output date/time in ISO 8601 format. FMT='date' for date only (the default), 'hours', 'minutes', 'seconds',
or 'ns' for date and time to the indicated precision.
令人困惑的是'ns' for date and time to the indicated precision
“指示精度”到底是什么?是什么ns
?
045431370
我特别想知道输出中的数字的含义2025-04-04T12:10:16,045431370+02:00
如何解释045431370
数字?什么是ns
选项?
顺便说一句。我假设+02:00
是指 UTC 偏移量?或者UTC +2
?