This website requires JavaScript.
Explore
Sign In
mirror
/
hugo
mirror of
https://github.com/gohugoio/hugo
Watch
1
Star
0
Fork
You've already forked hugo
0
Code
Issues
stable
hugo
/
docs
/
content
/
en
/
methods
/
duration
/
Minutes.md
326 B
Raw
Permalink
Blame
History
title
description
categories
keywords
params
Minutes
Returns the time.Duration value as a floating point number of minutes.
functions_and_methods
returnType
signatures
float64
DURATION.Minutes
{{
$d
=
time
.ParseDuration
"3.5h2.5m1.5s"
}}
{{
$d
.Minutes
}}
→ 212.525