Debian Codegraph @

docs/content/en/methods/time/After.md

raw
1 ---
2 title: After
3 description: Reports whether TIME1 is after TIME2.
4 categories: []
5 keywords: []
6 params:
7 functions_and_methods:
8 returnType: bool
9 signatures: [TIME1.After TIME2]
10 ---
11
12 ```go-html-template
13 {{ $t1 := time.AsTime "2023-01-01T17:00:00-08:00" }}
14 {{ $t2 := time.AsTime "2010-01-01T17:00:00-08:00" }}
15
16 {{ $t1.After $t2 }} → true
17 ```