Time Unit Values

There are many Airscript functions that require string input designating a unit of time. In order to be correctly parsed by the Airscript function, the given string must exactly match one of the possible values given in the following table:

Time UnitPossible Values

Year

"year", "years", "y"

Month

"month", "months", "M"

Week

"week", "weeks", "w"

Day

"day", "days", "d"

Hour

"hour", "hours", "h"

Minute

"minute", "minutes", "m"

Second

"second", "seconds", "s"

Millisecond

"millisecond", "milliseconds", "ms"

Last updated