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