Tinderbox v9 Icon


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Operator First Added: 

Operator Altered: 

 Function   [other Function type actions]

 Item   [operators of similar scope]

 Formatting   [other Formatting operators]




For this data type formatString strings can use date-type format strings. The function returns Interval as a String formatted as per the quoted date/interval format string formatString.

This supplements the existing format() function. An interval of 00:00 (hours:minutes) is always displayed as an empty string.

Interval.format ("l") and Interval.format ("L") format the intervals according to the current locale. The lower-case "l" format uses the locale's abbreviated form, while "L" spells out the interval in a phrase customised to local usage.