userLongFormatPicAndLcid

userLongFormatPicAndLcid(pic:  String;
                         lcid: Integer): String;

The userLongFormatPicAndLcid method of the Date primitive type returns a string containing the receiver in the long date format picture specified for the pic parameter using the locale specified in the lcid parameter. For examples of pic values, see the parseLongWithPicAndLcid method.

If the value of the pic parameter is null, the long date format picture of the locale specified in the lcid parameter is returned. If the value of the lcid parameter is zero (0), the long date format picture of the current locale is returned. If the locale is Thai, the year is assumed to include the Thai year offset (that is, 543), which is added to the year included in the returned string.

The output text string is a localized Gregorian version of the receiver date. Other calendars such as Hebrew Lunar are not supported.

If you do not define the EnhancedLocaleSupport parameter in the [JadeEnvironment] section of the JADE initialization file on the database node or you set it to false, inconsistent results could be returned to the application server when running in JADE thin client mode and there are locale overrides, as all overrides on the application server are suppressed if enhanced locale support is not enabled. Formatting of locale data is done on the application server, based on the locale of the corresponding presentation client.