Chapter 5 Advanced Expressions: Working with Dates, Times, and Numbers 103
certificate.
VALID_NOT_AFTER.
EQ(time)
Returns a Boolean TRUE if the time is equal to 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 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.
VALID_NOT_AFTER.
GE(time)
Returns a Boolean TRUE if the time value is greater
than or equal to the argument 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.
VALID_NOT_AFTER.
GT(time)
Returns a Boolean TRUE if the time value is greater
than the argument 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)
Operations on Certificate (client.ssl.client_cert) Dates and Times
SSL Certificate Operation Description