userShortFormatAndLcid

userShortFormatAndLcid(fmt:  DateFormat;
                       lcid: Integer): String;

The userShortFormatAndLcid method of the Date primitive type returns a string containing the receiver in the short date format specified for the fmt parameter of the locale specified in the lcid parameter.

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

This method is the same as the userShortFormatPicAndLcid method except that the picture string is taken from the DateFormat class shortFormat property. For more details and examples of valid date matches, see the userShortFormatPicAndLcid method.

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.