Datetime package
A datetime value consists of a date, time, and time zone. RPA Workspace stores datetime values in a Datetime variable. The Datetime package contains actions that enable you to perform various operations on datetime values. You can use these actions to manipulate and compare values in the Datetime variables.
Actions in the Datetime package
The actions in the Datetime package accept a variable as an input and assign the output to a variable. These actions enable you to compare two Datetime values, add to or subtract from a Datetime value, and convert a Datetime value to a string value.
The Datetime package includes the following actions:
Action | Description |
---|---|
Add | See Using the Add action. |
Assign | See Using the Assign action. |
Is after | Compares two Datetime variables and verifies if the value of
the source variable is after the value available in the
comparison variable, and stores the output to a Boolean
variable.
|
Is before | Compares two Datetime variables and verifies if the value of
source variable is before the value available in the comparison
variable, and stores the output to a Boolean variable.
|
Is equal | Compares two Datetime variables and verifies if the value of
the source variable is equal to the value available in the
comparison variable, and stores the output to a Boolean
variable.
|
Subtract | See Using the Subtract action. |
To string | See Using the To string action. |