This function converts a date/time (usually from another document property) to a
string.
Use this procedure to configure the @dateTimeToString
function. This
function converts a date/time to a string in the format specified. This string will
be inserted in the document property you are configuring.
-
Right-click in the appropriate document property, and then click .
This opens the @DateTimeToString dialog
box.
-
In the FieldSource box, specify the document property
that contains the date/time string you want to insert.
-
Right-click in the box.
-
Click Insert Document Property.
-
Select the document property from the list.
-
In the Format box, enter the format the date/time string
will use when it is inserted into the document property.
See the
Format grids for
descriptions of the available formats.
-
In the Culture box, specify the culture name of the data
in the document.
The default is the current culture of the computer where the Output Manager Console
is running. When culture is not specified, the culture independent
CultureInfo.InvariantCulture is used.
-
Click OK.
The function is inserted into the document property using the following
format:
@dateTimeToString([FieldSource],"Format",Culture)