178 Citrix NetScaler Policy Configuration and Reference Guide
number.TYPECAST_
TIME_AT.GT(t)Returns a Boolean value (TRUE or FALSE) that indicates
whether the time value designated by number is greater than
the time value argument t.
The following examples assume that the current time value
is GMT 2005 May 1 10h 15m 30s and that the day is the 1st
Sunday of the month of May in 2005. The result of the
evaluation is given after each example.
GT(GMT 2004): TRUE
GT(GMT 2005 Jan): TRUE
GT(Local 2005 May): TRUE or FALSE, depending on the
current timezone.
GT(GMT 8h): TRUE
GT(GMT 30m): FALSE
GT(GMT May 10h): FALSE
GT(GMT May 10h 0m): TRUE
GT(G MT S un) : FAL SE
GT(GMT May Sun_1): FALSE
Parameters:
t - Time
number.TYPECAST_
TIME_AT.HOURS Extracts the hour from the current system time and returns
the corresponding value as an integer that ranges from 0 to
23.
Typecasting Operations
Operation Description