Application DesignOther Block: Format Date/Time

In a business rule designed in the Configurator, you can add a Format Date/Time component block to retrieve the current date and time from the Loftware Application Server and save it to a data map entry. You can specify the date/time format used and adjust the date.

Note: This value is interpreted as a text string.

Tip: Before you can add a component block to a business rule, you must create a component set by specifying a trigger that controls when component blocks in the component set are run.

Property Description

Data Ref

The name of a data map entry in which to save the formatted date and time to after applying any adjustments specified by Days to Add. If the data map entry does not already exist, it is created.

It is recommended that you select Manually EnteredClosed A property that allows a Designer or administrator to type in the value for a property rather than select it from a list. For a data ref, value must be the fully-qualified name of a data map entry. and specify a data map entry.

Format

The date/time format to apply to the data. You can select one of the formats listed, or select Custom and enter placeholder characters to specify a format.

For a description of the date/time formats and the placeholders for use in custom formats, see Time Values in Loftware Enterprise SP.

Days to Add

Number of days by which to increment the value specified by the data.