# Duration data type
The Duration data type converts duration to a number. Duration values are serialized as integers in seconds.
Example Duration values:
3.seconds5.minutes7.days12.months2.years
# Syntax
now.to_i + 1.minute
# Sample usage
| Formula | Result |
|---|---|
| now.to_i + 1.6 | current time + 96 seconds |
| now.to_i + 24.hours | current time + 86400 |
Last updated: 7/10/2025, 7:49:15 PM