180Citrix NetScaler Policy Configuration and Reference Guide

Typecasting Operations

Operation

Description

 

 

number.TYPECAST_

Extracts the minute from the current system time and returns

TIME_AT.MINUTES

the value as an integer that ranges from 0 to 59.

number.TYPECAST_

Extracts the month from the current system time and returns

TIME_AT.MONTH

the value as an integer that ranges from 1 (January) to 12

 

(December).

number.TYPECAST_

Calculates the number of seconds that have elapsed after the

TIME_AT.RELATIVE_

most recent reboot or the number of seconds to the next

BOOT

scheduled reboot, depending on which of these is closer to

 

the current time, and returns an integer. If the closest boot

 

time is in the past, the integer is negative; if the closest boot

 

time is in the future (scheduled reboot time), the integer is

 

positive.

 

 

number.TYPECAST_

Calculates the number of seconds between the current

TIME_AT.RELATIVE_NOW

system time and the specified time, and returns the value as

 

an integer. If the designated time is in the past, the integer is

 

negative; if it is in the future, the integer is positive.

number.TYPECAST_

Extracts the seconds from the current system time and

TIME_AT.SECONDS

returns the value as an integer that ranges from 0 to 59.

number.TYPECAST_

Returns an integer that corresponds to the day of the week; 0

TIME_AT.WEEKDAY

for Sunday and 6 for Saturday.

Page 194
Image 194
Citrix Systems 9.2 Value as an integer that ranges from 0 to, Value as an integer that ranges from 1 January to, December