FromMinutes
The identity function: returns its argument unchanged. Exists so a literal
minute count can be written with the same From* shape as
FromHours and FromDays in expressions
that mix units.
Category: Time Returns: int
Signature
FromMinutes(n)
The argument is a whole number of minutes.
Examples
FromMinutes(90) // 90; same as writing 90 directly
AbsoluteMinutes() > FromMinutes(90) // more than 90 minutes have passed
FromHours(1) + FromMinutes(30) // 90, built from mixed units
Notes
- Requires time to be enabled for the project (Project, then Time). With time disabled, any expression using this function fails validation.
FromMinutes,FromHours, andFromDaysare duration constructors for expression fields (conditions, visibility, values), not event payloads. The Advance Time event’s Minutes field takes a plain number, soFromHours(2)can’t be typed there; reach for it inside a condition or visibility expression that compares a duration instead.