Formats the time (number of milliseconds) given based on a format string.This function is valid in v2.8.0 to v2.12.0. This function has been downloaded 12 times.
w) will be replaced by the number of weeks,
d) by the number of days (maximum being 6),
h) by the number of hours (maximum being 23),
mby the number of minutes (maximum being 59),
sby the number of seconds (maximum being 59), and
Sby the number of milliseconds (maximum being 999). Adding an exclamation point to the end of any of those characters (eg.
S!) will result in the corresponding value not being truncated based on the next highest time increment. Using
SSSwill result in leading zeroes for those corresponding values. Instances of
-will be removed only if
msis positive. Instances of
+will be replaced with
msis negative, otherwise
+will remain. Wrapping a substring in single quotes or double quotes will cause that substring to be escaped and any instances of that same quote character being repeated once will be replaced with just one.
msformatted based on