Milliseconds
Returns the time.Duration value as an integer millisecond count.
- Syntax
- DURATION.Milliseconds
- Returns
- int64
{{ $d := time.ParseDuration "3.5h2.5m1.5s" }}
{{ $d.Milliseconds }} → 12751500Last updated:
November 8, 2026
:
content: Remove categories from front matter (1cc1dd83a)
Improve this page