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 type tree scripts imported by the Type Tree 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:
- The following procedure assumes that the Item Subclass property of your type tree is Date & Time.
- From within the type tree properties, navigate to .
- Click the browse button to open the Date Time dialog.
- From a Format field that is set to Time, go to the field directly below it and choose Custom from the drop-down menu.
- Next to the Format field with Custom selected, click the browse button. The Time Format dialog is displayed.
- 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.