Skip to content

    Time

    How to write durations for delays, timers, and anything else baobun schedules.

    Any argument that asks for a duration — duration, delay, delete_after — takes the same short format: a number followed immediately by a unit.

    Units

    UnitAccepted as
    Secondss, second, seconds
    Minutesm, minute, minutes
    Hoursh, hour, hours
    Daysd, day, days
    Weeksw, week, weeks
    Yearsy, year, years

    Combining units

    Chain units together to build a longer duration. 7d12h is seven days and twelve hours.

    CorrectIncorrect
    50s50 seconds
    10m10minutes
    7d7 day
    12h5m12hours 5 minutes
    1w2d1w 2 day
    1y2w20m1y 2 week 20 minute

    Stick to the short forms when combining units. They are the form used everywhere in these docs, and they are what the examples above accept.