Files
2026-07-13 11:58:46 +08:00

289 B

title, description, categories, keywords, params
title description categories keywords params
Year Returns the year of the given time.Time value.
functions_and_methods
returnType signatures
int
TIME.Year
{{ $t := time.AsTime "2023-01-27T23:44:58-08:00" }}
{{ $t.Year }} → 2023