YearDay.md - hugo - [fork] hugo port for 9front
(HTM) git clone https://git.drkhsh.at/hugo.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
YearDay.md (377B)
---
1 ---
2 title: YearDay
3 description: Returns the day of the year of the given time.Time value, in the range [1, 365] for non-leap years, and [1, 366] in leap years.
4 categories: []
5 keywords: []
6 params:
7 functions_and_methods:
8 returnType: int
9 signatures: [TIME.YearDay]
10 ---
11
12 ```go-html-template
13 {{ $t := time.AsTime "2023-01-27T23:44:58-08:00" }}
14 {{ $t.YearDay }} → 27
15 ```