Convert a text value to a date/time value. Both values are stored in
a variable. The method used to convert the text to a date/time value can
be specified.
Deployment
This action is typically used in UMRA projects to set the account expiration
date as specified in a text file when creating new user accounts. In this
scenario, a column of the text file contains the user account expiration
date and a variable is assigned to this column. This variable stores the
expiration date/time as a text string. In order to use this expiration
date/time value, it must be converted from a text value to a date/time
type value. This can be done with this action. The action takes the text
value of the input variable and converts this text to a date/time value
type. The resulting value is stored in a variable that can be used to
specify the expiration date of a user account.
For the action, the format used to convert the text to a date/time value
can be configured.
Input text variable
The name of the input variable that stores the date/time text value represented
as text.
Output date/time variable
The name of the output variable that upon execution of the action stores
the date/time value in as a date/time type. The input and output variable
names can be the same: In this case the input variable value is overwritten
with the result variable value.
Format
The format of the input variable text value. The format is specified using
the following fields: month,day,year,year,hour,minute and second. In order
for this action to succeed, the format must correspond with the input
variable value. Example: When the date/time is specified as 7/27/2005 14:30 the
format must be specified as: month/day/year
hour:minute. A number of predefined
formats can be selected from the list. Note that not all fields need to
be specified. In this case, the action will use the default
values.
Default values - Format field - Default
value
Select one of the possible format fields from the list Format
field and specify the default
value in the edit box Default
value. The default value is
only used when it is not specified in the Format string.