Chapter 5 Advanced Expressions: Working with Dates, Times, and Numbers 103

Operations on Certificate (client.ssl.client_cert) Dates and Times

SSL Certificate Operation

Description

 

 

certificate.

Returns a Boolean TRUE if the time is equal to the time

VALID_NOT_AFTER.

argument.

EQ(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 for

 

this example are in parentheses):

 

. . .eq(GMT 2005) (TRUE)

 

. . .eq(GMT 2005 Dec) (FALSE)

 

. . .eq(LOCAL 2005 May) (TRUE or

 

 

FALSE, depending on the current time zone)

 

. . .eq(GMT 10h) (TRUE)

 

. . .eq(GMT 10h 30s) (TRUE)

 

. . .eq(GMT May 10h) (TRUE)

 

. . .eq(GMT Sun) (TRUE)

 

. . .eq(GMT May Sun_1) (TRUE)

certificate.

Returns a Boolean TRUE if the time value is greater

VALID_NOT_AFTER.

than or equal to the argument time.

GE(time)

For example, if the time value is GMT 2005 May 1 10h

 

15m

30s, and it is the first Sunday of the month of May

 

in 2005, you can specify the following (evaluation

 

results for this example are in parentheses):

 

. . .ge(GMT 2004) (TRUE)

 

. . .ge(GMT 2005 Jan) (TRUE)

 

. . .ge(LOCAL 2005 May) (TRUE or

 

 

FALSE, depending on the current time zone.)

 

. . .ge(GMT 8h) (TRUE)

 

. . .ge(GMT 30m) (FALSE)

 

. . .ge(GMT May 10h) (TRUE)

 

. . .ge(GMT May 10h 0m) (TRUE)

 

. . .ge(GMT Sun) (TRUE)

 

. . .ge(GMT May Sun_1) (TRUE)

certificate.

Returns a Boolean TRUE if the time value is greater

VALID_NOT_AFTER.

than the argument time.

GT(time)

For example, if the time value is GMT 2005 May 1 10h

 

15m 30s, and it is the first Sunday of the month of May

 

in 2005, you can specify the following (evaluation

 

results for this example are in parentheses):

 

. . .gt(GMT 2004) (TRUE)

 

. . .gt(GMT 2005 Jan) (TRUE)

 

. . .gt(LOCAL 2005 May) (TRUE or

 

 

FALSE, depending on the current time zone.)

 

. . .gt(GMT 8h) (TRUE)

 

. . .gt(GMT 30m) (FALSE)

 

. . .gt(GMT May 10h) (FALSE)

 

. . .gt(GMT Sun) (FALSE)

 

. . .gt(GMT May Sun_1) (FALSE)

Page 117
Image 117
Citrix Systems 9.2 For example, if the current time is GMT 2005 May, 10h 15m 30s, and it is the first Sunday of the month