Export Date Format
The export date format specifies the date format Information Server uses when displaying dates from a collection in the results list. It uses the ExpDateFmt configuration parameter in the [Common] or [Server] section of the inetsrch.ini file. For example:
- [Common]
- ExpDateFmt = ${mm}-${dd}-${yy}
Valid values are listed in the following table.
Variable
|
Description
|
|---|
${yyyy}
|
Represents a year as a four-character variable, as in 1996.
|
${yy}
|
Represents the last two characters of a year as a two-character variable, as in 96.
|
${q}
|
Represents a quarter as a one-character variable, as in 3. Note that the $q variable assumes that January through March is 1, April through June is 2, July through September is 3, and October through December is 4.
|
${mm}
|
Represents a month as a two-character variable, as in 09.
|
${ddd}
|
Represents a specific day of the year as a three-character variable between 001 and 366, as in 225.
|
${dd}
|
Represents a day of the month as a two-character variable between 01 and 31, as in 29.
|
${hh24}
|
Represents an hour in 24-hour time format as a two-character variable between 00 and 23, as in 15.
|
${hh12}
|
Represents an hour in 12-hour time format as a two-character variable between 01 and 12, as in 08. ${hh12} and ${hh} are interchangeable.
|
${hh}
|
Same as ${hh12} above.
|
${mi}
|
Represents a minute as a two-character variable between 01 and 59, as in 45.
|
${ss}
|
Represents a second as a two-character variable between 01 and 59, as in 23.
|
${w}
|
Represents a day since the previous Sunday as a two-character variable between 00 and 06, as in 01.
|
${month}
|
Represents a month using the full month name, as in september.
|
${mon}
|
Represents a month using a three-character abbreviation, as in aug.
|
${day}
|
Represents a day using the full day name, as in tuesday.
|
${dy}
|
Represents a day using a three-character abbreviation, as in wed.
|
${am}
|
Represents AM or PM, as appropriate.
|
${ap}
|
Represents AM or PM, as appropriate, using a single-character variable, such as a.
|
Choosing Case
You can choose to display dates in lower case, with initial capitals, or in upper case, by entering the variable in the desired style, as follows.
Date Punctuation and Spaces
You can specify date display punctuation and spaces in date format strings, as desired. Date punctuation typically includes commas (,), slashes (/), and dashes (-).
Copyright © 1998, Verity, Inc. All rights
reserved.