Durations
Attributes that specify a duration are being migrated to a standard convention.
Duration is specified as an integer followed by an optional unit of measurement, as follows;
Suffix
Unit
Examples
ms ( default )
Milliseconds
10000ms = 10 seconds
10000 = 10 seconds
s
Seconds
30s = 30 seconds
m
Minutes
20m = 20 minutes
h
Hours
4h = 4 hours
d
Days
3d = 3 days
w
Weeks
1w = 1 week
M
Months
2M = 2 months ( at 30 days per month )
y
Years
2y = 2 years ( at 365 days per year )
Last updated
Was this helpful?