You are here: Adding Section and Field Rules > Formatting Data > Using Pre-defined Time Formats

Using Pre-defined Time Formats

In this example...

T, "1:",

T indicates it is a time format. The first digit (1) indicates the time format (HH:MM:SS). The colon (:) indicates the separator character (:).

This example shows the time format as it looks in the FAP file. The easiest way to enter time formats is through Studio, on the field's Properties window.

Studio will then create the time format in the FAP file for you.

Studio Field Options

When you choose Time Format as the type, you can choose from this list of time formats. The table also shows the corresponding time format code Studio creates in the FAP file:

In the Format field, select this format

To see this code in the FAP file

To get times formatted as shown below (all examples are for 5:20:42 PM)

HH:MM:SS

1:

17:20:42 (default) (24 hour)

HH:MM:SS XM

2:

05:20:42 PM (12 hour)

HH:MM

3:

17:20 (24 hour)

HH:MM XM

4:

05:20 PM (12 hour)

These time formats affect processing in Documaker Desktop, not Documaker Server.

Here is a list of the separators you can choose from in the Separators field on the Attributes tab of the variable field’s Properties window.

In the Separator field, choose...

To use this character as the separator...

00:00:00 (default)

: (a colon appears in the FAP file)

00,00,00

, (a comma appears in the FAP file)

00-00-00

- (a dash appears in the FAP file)

00.00.00

. (a period appears in the FAP file)

00 00 00

space (a “b” appears in the FAP file)