Values · Value
Read duration
Read a length of time like 1h 30m.
date.parse_duration
In a flow
“Works out read duration whenever a step wired to it needs the answer.”
'1h 30m' → 5400 seconds
What it does
Read a length of time like 1h 30m. It's a value node: no white pins, it works out its answer when a step wired to it needs it. It gives 2 values later steps can use. Find it under Values in the palette.
When to use it
Use it when a step needs a value worked out first: read a length of time like 1h 30m.
When not to
For a value that never changes, type it into the setting instead of wiring a node.
Typical wiring
Sockets: settings you can wire
- Text Text
-
A length of time, like 1h 30m, 90 minutes or 2 days.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, the step runs without it.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more
Values it gives
- Seconds Number
-
The length in seconds. e.g. 5400
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 718 more
- Was a duration Yes / no
-
True when the text was a length of time. e.g. true
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAdd a forum tagAdd onboarding questionAdd to a counterAlarms that are dueAndAutoMod: Discord's word listsBluesky latest postBoard as emojiand 572 more