Change the Data Format for a Date and Time

To change the data format for a date and time, do the procedure in this topic.

Convert Date Screen



Good to Know

How to Start

  1. On the Organizer, do one of these:
  2. Do one of these:
    • Add an activity:
      1. In the Process Builder, in the Activity Library, open the Utilities tab.
      2. On the Utilities tab, drag the Convert Date Format activity onto your process.
    • Change an activity:
      1. In your process, double-click your activity.
  3. Click Convert Date Format .

Procedure

  1. On the Convert Date screen, complete these fields as necessary.
    Field Name Value

    Input Date Time

    Function:
    Specifies the reference date for your date calculation.

    Two Date Time fields are available: Input Date Time 1 and Input Date Time 2.

    Accepted Values:
    • Custom Attributes - Specifies a process data variable that stores the date-time value and your date-time format.

      You can use Process Data screen to specify a process data variable.

      You can also use a custom date-time format. For more information, refer to Customize Your Date-Time Format.

    • Static - Specifies a static date and time.
    • Now - Specifies the date and time your activity starts.
    Default Value:
    Custom Attribute

    Date String

    Function:
    Specifies the process data variable that stores the result received from the date calculations if it is in the Date Time format.

    The results of the date calculations that changes from the Date Time format to a String. The format of the string is specified in the list.

    Accepted Values:
    A process data variable that stores the result in the selected String format.
    Default Value:
    None
    Accepts Process Data Variables:
    Yes