Contact Us 1-800-596-4880

Generate Date and Time

Use Generate date and time to create a configurable time stamp. Select a country-specific style for the time stamp from the selection of format templates or arrange the available time components as required, e.g. day, month, and hour. You can specify the time stamp as a specific time in the future or past, or use the current system time. It is also possible to incorporate a time offset in days, hours, minutes, and seconds. The time stamp generated by Generate date and time will be made available in several variables, which can be further processed in other Action Steps.

Properties

Generate Date and Time Settings

The values specified for the following fields (Day, Hour, Minute, and Second) will be incorporated into the calculation of the selected time stamp (time offset). Positive and negative numbers can be used. The default value is 0 in each case.

  • Day Number of days

  • Generate day and time modeUse the list box to select whether you want the Current date and time or a Custom date and time to be used. The time offsets from the Day, Hour, Minute, and Second fields will be applied in both cases.

  • Hour Number of hours

  • Minute Number of minutes

  • Second Number of seconds

Other Properties that are the same in all Action Steps are described in the section on Common Properties. For reasons of clarity they are not shown here.

Variables

The following variables relate to the configurable time stamp after any time offset has been applied. The Formatted variable will be output in the specified DateTime format. The other variables will be output in accordance with the date format settings specified in the operating system.

  • Formatted The Generate date and time.Formatted variable provides the time stamp using the date and time format selected.

  • Date The Generate date and time.Date variable provides the date.

  • Time The Generate date and time.Time variable provides the time.

  • Year The Generate date and time.Year variable provides the year.

  • Month The Generate date and time.Month variable provides the month as a decimal number.

  • Day The Generate date and time.Day variable provides the day as a decimal number.

  • Hour The Generate date and time.Hour variable provides the number of hours.

  • Minute The Generate date and time.Minute variable provides the number of minutes.

  • Second The Generate date and time.Second variable provides the number of seconds.

Wizard

  • Generation mode Use this radio button to select which time stamp is used:

    • Current date and time Use the current system time.

    • Custom date and time Use the time selected in the DateTime field.

  • DateTime Use to specify a time to be used as the Custom date and time.

  • DateTime format Select a predefined format or create a custom format using the available time components. The Generate date and time.Formatted variable is used to output the specified format. The following time components are available

    • dd: Day (the day is written out as dddd).

    • MM: Month (the month is written out as MMMM).

    • yy: Year (the year ist written out as yyyy)

    • HH: Hour

    • mm: Minute

    • ss: Second

  • Add to date Use the following fields to specify the time offset that should be applied to the time stamp. You can specify the required value either by using the selector buttons or by entering the value directly. Positive and negative numbers can be used. The default value is 0 in each case.

    • Days Number of days

    • Hours Number of hours

    • Minutes Number of minutes

    • Seconds Number of seconds