strftime

Description

The strftime() function formats the current date and time, as defined on Policy Server host, per the supplied format string.

For more information on how to create a format string, see Time Format Commands.

Note that different operating systems may provide different options for their own native strftime() function. Consult your operating system’s strftime() manual page for more information.

Syntax

result = strftime (formatstring);

Arguments

formatstring Required. Character string that contains the format command characters that specify how the current date should be formatted

Return Values

strftime() returns a formatted character string containing the current date and time from the Policy Server host.

See Also

date, day, dayname, hour, minute, month, time, year