Configure the @dateTimeToString function

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.

  1. Right-click in the appropriate document property, and then click Insert Function > @datetimeToString.
  2. In the FieldSource box, specify the document property that contains the date/time string you want to insert.
    1. Right-click in the box.
    2. Click Insert Document Property.
    3. Select the document property from the list.
  3. 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.
  4. 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.
  5. Click OK.
    The function is inserted into the document property using the following format:
    @dateTimeToString([FieldSource],"Format",Culture)