Equal
Reports whether TIME1 is equal to TIME2.
Syntax
TIME1.Equal TIME2
Returns
bool
{{ $t1 := time.AsTime "2023-01-01T17:00:00-08:00" }}
{{ $t2 := time.AsTime "2023-01-01T20:00:00-05:00" }}
{{ $t1.Equal $t2 }} → true
Last updated:
March 5, 2025
:
content: Remove "related" array from function and method pages (2fcd21ee5)
Improve this page