327
Appendix
D
Time Formats
This appendix describes the format strings used for dates and times. These formats
are used by the NSAPI function
util_strftime
, by some built-in SAFs such as
append-trailer
, and by server-parsed HTML (
parse-html
).
The formats are similar to those used by the
strftime
C library routine, but not
identical.
Table D-1
Symbol
Meaning
%a
Abbreviated weekday name (3 chars)
%d
Day of month as decimal number (01-31)
%S
Second as decimal number (00-59)
%M
Minute as decimal number (00-59)
%H
Hour in 24-hour format (00-23)
%Y
Year with century, as decimal number, up to 2099
%b
Abbreviated month name (3 chars)
%h
Abbreviated month name (3 chars)
%T
Time "HH:MM:SS"
%X
Time "HH:MM:SS"
%A
Full weekday name
%B
Full month name
%C
"%a %b %e %H:%M:%S %Y"
%c
Date & time "%m/%d/%y %H:%M:%S"
%D
Date "%m/%d/%y"
Summary of Contents for ENTERPRISE SERVER 6.1
Page 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 1 April 2002 Draft...
Page 290: ...Miscellaneous 290 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 318: ...cinfo 318 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 336: ...Buffered Streams 336 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 344: ...344 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 350: ...350 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 356: ...356 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...