Skip to main content Skip to complementary content

LocaleInfo

Properties

Name Description Type
qDecimalSep Decimal separator. String
qThousandSep Thousand separator. String
qListSep List separator. String
qMoneyDecimalSep Money decimal separator. String
qMoneyThousandSep Money thousand separator. String
qCurrentYear Current year. Integer
qMoneyFmt

Money format.

Example: #.##0,00 kr;-#.##0,00 kr

String
qTimeFmt

Time format.

Example: hh:mm:ss

String
qDateFmt

Date format.

Example: YYYY-MM-DD

String
qTimestampFmt

Time stamp format.

Example: YYYY-MM-DD hh:mm:ss[.fff]

String
qCalendarStrings Information about the calendar. CalendarStrings
qFirstWeekDay

First day of the week, starting from 0.

According to ISO 8601, Monday is the first day of the week.

  • 0 = Monday
  • 1 = Tuesday
  • ..
  • 6 = Sunday

If this property has not been set in a script, the returned value comes from the Windows operating system.

Integer
qBrokenWeeks

Is set to true if broken weeks are allowed in a year.

According to ISO 8601, no broken weeks should be allowed.

This property is not shown if set to false.

If qBrokenWeeks is set to true, qReferenceDay is irrelevant.

If this property has not been set in a script, the returned value comes from the Windows operating system.

Boolean
qReferenceDay

Day in the year that is always in week 1.

According to ISO 8601, January 4th should always be part of the first week of the year (qReferenceDay=4).

Recommended values are in the range 1 and 7.

If this property has not been set in a script, the returned value comes from the Windows operating system.

This property is not relevant if there are broken weeks in the year.

Integer
qFirstMonthOfYear

First month of the year, starting from 1.

According to ISO 8601, Januaryis the first month of the year.

  • 1 = January
  • 2 = February
  • 12 = January

If this property has not been set in a script, the returned value comes from the Windows operating system.

Integer
qCollation

Locale name (following language tagging convention RFC 4646):

<language>-<REGION>

Where

  • language is a lowercase ISO 639 language code
  • REGION specifies an uppercase ISO 3166 country code.

If this property has not been set in a script, the returned value comes from the Windows operating system.

String

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!