Video Screencast Help
Scheduled Maintenance: Symantec Connect is scheduled to be down Saturday, April 19 from 10am to 2pm Pacific Standard Time (GMT: 5pm to 9pm) for server migration and upgrades.
Please accept our apologies in advance for any inconvenience this might cause.

Subtract Minutes

Created: 13 Jun 2012 • Updated: 21 Mar 2013
Language Translations
Collaborators: SymantecWorkflowTeam, Chan Eil Fhios
SymantecWorkflowTeam's picture
0 0 Votes
Login to vote

Component definition

This component calculates a new date from a starting date and a number of minutes. If the number of minutes is negative, they will be added instead.

Component icon

[Insert component icon Image file here.]

Definition of component input value or values

Properties
Input Value Name Input Value Data Type Req'd Example Format Explanation
Date Date Time Yes StartDate The date to use as the starting point for calculating the new date time.
Minutes Double Yes numMinutes The number of minutes to subtract from the starting date.
Result Variable Name String Yes scriptDate The name of a variable to which the new date time value will be stored.

Definition of component output value or values

A variable with the name specified in "Result Variable Name" containing the new date and time.

Connection information

None

Component settings

None

Use case

Calculate a deadline.

Suppose we have a process that has been running for 10 minutes. We could calculate when it started by using this component to subtract 10 minutes from the current date. The parameters would be set as follows:

  • "Date" would be "CurrentDate"
  • "Minutes" would be 10
  • "Result Variable Name" would be something like "processStartDate"

[Example 2]

[Describe the use case. Insert screen shots or package files. Insert a description of how the settings are configured. Insert additional information about the use case that you are submitting.]