Optional time segments of the time format string

This section discusses how you can specify a portion of a time-format string to be optional. For example, you can specify that either the time zone portion or the hours, minutes, seconds, fractional seconds, Meridian portion is optional.

This flexibility is also applicable to time-format strings used in functions or in schema scripts imported by the Schema Maker.

Only the time portion or the zone portion can be optional-not both.

To specify a portion of the time-format string as optional:

  1. The following procedure assumes that the Item Subclass property of your schema is Date & Time.
  2. From within the schema properties, navigate to Item Subclass > Format.
  3. Click the browse button to open the Date Time dialog.
  4. From a Format field that is set to Time, go to the field directly below it and choose Custom from the drop-down menu.
  5. Next to the Format field with Custom selected, click the browse button. The Time Format dialog is displayed.
  6. Choose from the following tasks:
    • To specify the hours, minutes, seconds, fractional seconds, and Meridian-portion of the time format string as optional, enable the check box on the far left side of the dialog.
    • To specify the time zone portion of the time format string as optional, enable the check box.

      Only one segment of the time format string can be specified as optional.