userShortFormatPicAndLcid

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

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

If the value of the pic parameter is null, the short date format picture of the locale specified in the lcid parameter is returned. If the value of the lcid parameter is zero (0), the short date format picture of the current locale is returned.

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

If the locale is Thai, the Thai year offset (that is, 543) is added to the year included in the returned string.

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.