Tivoli Header
Tivoli Storage Manager for UNIX Backup-Archive Clients Installation and User's Guide
The dateformat option specifies the format you want to use to
display dates.
The AIX, AIX 5L, Solaris, and HP-UX clients support locales other than
English that describe every user interface that varies with location or
language. Solaris and HP-UX clients only support English, Korean,
Simplified Chinese, Traditional Chinese, and Japanese locale
information. The default directories for system-supplied locales are as
follows:
- /usr/lib/nls/loc for AIX and AIX 5L
- /usr/lib/locale for Solaris
- /usr/lib/nls/loc/locales for HP-UX
The backup-archive and administrative clients obtain format information
from the locale definition in effect at the time you start the client.
Consult the documentation on your local system for details about setting up
your locale definition.
Notes:
- This dateformat option does not affect the Web client.
The Web client uses the date format for the locale that the browser is running
in. If the browser is not running in a locale that Tivoli Storage
Manager supports, the Web client uses the date format for American
English.
- When you change the date format and use the schedlogretention
option to prune the schedule log, Tivoli Storage Manager removes all entries
in the schedule log with a different date format when pruning the log.
When you change the date format and use the errorlogretention
option to prune the error log, Tivoli Storage Manager removes all entries in
the error log with a different date when pruning the log. When changing
the date format, copy the schedule log and error log if you want to preserve
log entries that contain a different date format.
Supported Clients
This option is valid for all UNIX clients.
Options File
Place this option in the client user options file
dsm.opt.
Syntax
>>-DATEformat- format_number-----------------------------------><
Parameters
- format_number
- Displays the date using one of the following formats. Select the
number that corresponds to the date format you want to use:
- 0
- Use the locale-specified date format. For AIX, AIX 5L, HP-UX, SGI,
and Solaris: This is the default if the locale-specified date format
consists of digits and separator characters.
- 1
- MM/DD/YYYY (This is the default)
For AIX, AIX 5L, HP-UX, SGI, and Solaris: This is the default if the
locale-specified date format consists of anything but digits and separator
characters.
- 2
- DD-MM-YYYY
- 3
- YYYY-MM-DD
- 4
- DD.MM.YYYY
- 5
- YYYY.MM.DD
For AIX, AIX 5L, HP-UX, SGI, and Solaris: To set a particular date
format, edit the source file for your locale and modify the
d_fmt line to support your needs. Whatever date format
you select applies both to output and to input; however, the input year
can be either 2 or 4 digits.
- "%m/%d/%y"
- Displays the date in the form MM/DD/YY
- "%d.%m.%Y"
- Displays the date in the form DD.MM.YYYY
Examples
- Options file:
- dateformat 3
- Command line:
- -date=4
This option is valid on the initial command line and in interactive
mode. If you use this option in interactive mode, it remains in effect
for the entire interactive session or until you enter another
dateformat option.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]