Product Information > JADE Development Environment User’s Guide > Chapter 11 - Internationalization > Adding a Long Date Format

Adding a Long Date Format

From the Format Browser, select the Add Long Date Format command from the Formats menu to add a long date format to the current schema. As you enter your format selections, an example of the date in that format is displayed at the bottom of the dialog.

To add a long date format

  1. Select the Add Long Date Format command from the Formats menu.

    The Add Long Date Format dialog, shown in the following diagram, is then displayed.

  2. In the Format Name text box, specify a name for your long date format. You must specify a value in this text box. An exception is raised if the specified name does not start with an uppercase letter or the format name is not unique; that is, your schema already contains a format with that name.

  3. In the Order group box, select the date order that you require. Select the:

  4. In the combo boxes in the Format group box, select the required displays for your long date format; for example, in the first combo box you can select the day name to be displayed in full or abbreviated (that is, Saturday or Sat).

    In the separator text boxes in the Format group box, specify the separators that you require between each part of your long format; for example, a hyphen (-) after the day name and a comma (,) between the day, month, and year.

    As you define each part of your format, an example of your selected format is displayed beneath the Format group box.

  5. Click the OK button when you have defined your new short date format. Alternatively, you can click the Next button to redisplay the Add Long Date Format dialog so that you can define another long date format or you can click the Cancel button to abandon your selections.

When you click the OK button, the Format Browser is then displayed, with the defined long date format displayed in the Long Date Formats hierarchy and an example of a date in the defined format displayed in the status line.