Chapter 5 Advanced Expressions: Working with Dates, Times, and Numbers 99
SYS.TIME.GE(time)Returns a Boolean TRUE if the current time is later than or
equal to time.
For example, if the current time is GMT 2005 May 1 10h 15m
30s, and it is the first Sunday of the month, you can specify the
following (evaluation results are shown in parentheses):
sys.time.ge(GMT 2004) (TRUE in this example.)
sys.time.ge(GMT 2005 Jan) (TRUE in this
example.)
sys.time.ge(LOCAL 2005 May) (TRUE or FALSE
in this example, depending on the current time zone.)
sys.time.ge(GMT 8h) (TRUE in this example.)
sys.time.ge(GMT 30m) (FALSE in this example.)
sys.time.ge(GMT May 10h) (TRUE in this
example.)
sys.time.ge(GMT May 10h 0m) (TRUE in this
example.)
sys.time.ge(GMT Sun) (TRUE in this example.)
sys.time.ge(GMT May Sun_1) (TRUE in this
example.)
SYS.TIME.GT(time)Returns a Boolean TRUE if the time value is later than the time
argument.
For example, if the current time is GMT 2005 May 1 10h 15m
30s, and it is the first Sunday of the month, you can specify the
following (evaluation results are shown in parentheses):
sys.time.gt(GMT 2004) (TRUE in this example.)
sys.time.gt(GMT 2005 Jan) (TRUE in this
example.)
sys.time.gt(LOCAL 2005 May) (TRUE or
FALSE, depending on the current time zone. )
sys.time.gt(GMT 8h) (TRUE in this example.)
sys.time.gt(GMT 30m) (FALSE in this example.)
sys.time.gt(GMT May 10h) (FALSE in this
example.)
sys.time.gt(GMT May 10h 0m) (TRUE in this
example.)
sys.time.gt(GMT Sun) (FALSE in this example.)
sys.time.gt(GMT May Sun_1) (FALSE in this
example.)
SYS.TIME.HOURS Returns the current hour as an integer from 0 to 23.
Expressions that Return NetScaler System Dates and Times
NetScaler Time
Operation Description