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