hit counter script

Appendix; Date/Time Format Specfication - Cisco CS-MARS-20-K9 - Security MARS 20 User Manual

Security mars local controller
Table of Contents

Advertisement

Date/Time Format Specfication

The date/time field parsing is supported using the Unix strptime() standard C library function.
The strptime() function is the converse function to strftime() and converts the character string pointed
to by s to values which are stored in the tm structure pointed to by tm, using the format specified by
format. Here format is a character string that consists of field descriptors and text characters, reminiscent
of scanf(3). Each field descriptor consists of a % character followed by another character that specifies
the replacement for the field descriptor. All other characters in the format string must have a matching
character in the input string, except for whitespace, which matches zero or more whitespace characters
in the input string.
The strptime() function processes the input string from left to right. Each of the three possible input
elements (whitespace, literal, or format) are handled one after the other. If the input cannot be matched
to the format string the function stops. The remainder of the format and input strings are not processed.
The supported input field descriptors are listed below. In case a text string (such as a weekday or month
name) is to be matched, the comparison is case insensitive. In case a number is to be matched, leading
zeros are permitted but not required.
%%
The % character.
%a or %A
The weekday name according to the current locale, in abbreviated form or the full name.
%b or %B or %h
The month name according to the current locale, in abbreviated form or the full name.
%c
The date and time representation for the current locale.
%C
The century number (0-99).
%d or %e
The day of month (1-31).
%D
Equivalent to %m/%d/%y. (This is the American style date, very confusing to non-Americans,
especially since %d/%m/%y is widely used in Europe. The ISO 8601 standard format is
%Y-%m-%d.)
%H
78-17020-01
A P P E N D I X
User Guide for Cisco Security MARS Local Controller
C
C-1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mars 20Mars 50Mars 100Mars 200

Table of Contents