Nanosecond
返回给定 time.Time 值在秒内的纳秒偏移,范围为 [0, 999999999]。
Syntax
TIME.Nanosecond
Returns
int
{{ $t := time.AsTime "2023-01-27T23:44:58-08:00" }}
{{ $t.Nanosecond }} → 0