Date and Time Functions

These functions perform operations and comparisons on dates and times. The following table summarizes the date and time functions.

Table 25. Date and Time Function Summary

Function Description
datecmp() Compares two dates and returns the results of the comparison
strftime() Formats the current date and time, as defined on the Policy Server host, per the supplied format string
timebetween() Determines if the current time, as defined on Policy Server host, is between time1 and time2, inclusive