Resources · Functions Library · TurboIntegrator
TurboIntegrator

NewDateFormatter

Sets the date format used with ParseDate and FormatDate function

Cubewise · YouTube
Where it's used
TurboIntegrator
TM1 server version
Version 11 and 12
Syntax

How you write it

NewDateFormatter(Locale, TimeZone, UnixTime, FormatterStyle, TimeType)
Localelocal language
TimeZonetime zone
UnixTimewhether use Unix time or not
FormatterStyledate format whether ‘full’, ‘long’, ‘medium’ or ‘short’
TimeTypetype format whether ‘time’, ‘date’ or ‘datetime’