userFormatAndLcid

userFormatAndLcid(fmt:  TimeFormat;
                  lcid: Integer): String;

The userFormatAndLcid method of the Time primitive type returns a string containing the receiver in the time format specified in the fmt parameter of the locale specified in the lcid parameter.

If the value of the fmt parameter is null, the time format of the locale specified in the lcid parameter is returned. If the value of the lcid parameter is zero (0), the time format of the current locale is returned. same as the userFormatPicAndLcid method except that the picture string is taken from the TimeFormat class format property. For more details and examples of valid date matches, see the userFormatPicAndLcid 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.