TIME Variable Type

TIME variables must receive their values in the Selector or Provider sections or from the WAN policy request. Do not assign values to TIME variables in the Declaration.

WAN Traffic Manager uses two predefined variables based on the TIME variable type. These predefined variables are:

Time is declared as a structure with the following fields:

Field Definitions Valid Values

min

minutes

integer

hour

hours

integer

mday

day of month

1-31

mon

month

1-12 or JANUARY, FEBRUARY, etc.

year

year

Four-digit numeric: 1997, etc.

You can access TIME variables by appending a period and the element name to the variable name. For example, R1.min accesses the minutes element of the R1 variable.

When using mon elements, either the numerical representation or the actual name in uppercase (examples: JANUARY, FEBRUARY) can be used. These are constants stored by the system.

Values for the year element must be entered using four digits.

Values outside the range of a time element do not adjust the time parameter. For example, if R1.min is 65, there is no adjustment of R1.min to 5 nor R1.hour to R1.hour+1.

If a TIME variable is used in a relational expression (=, >=, <=, or <>), normalization will be performed for the comparison, but the actual symbol value is not changed. Required variables and optional variables with values assigned are passed by the client or a call. They are used in a policy and copied back out to the client.

The value will be indeterminate if it is not set in a Declaration or a WAN policy request.

Negative numbers are not allowed for time elements.



Previous | Next