Dates given directly as values for options or arguments
are converted to date values by the Rational® Synergy
CLI on the client machine. This means that such dates are processed
using the time zone of the client machine.
The following rules are used on input:
- If the preference ccm.cli.format.date is defined,
that date format is tried first. If a valid date can be parsed using
that format, the resultant date value is used.
- Otherwise, the data is parsed using a "YYYY/MM/DD
hh:mm:ss" format. If a valid date can be parsed, the
resultant date value is used.
- Otherwise, the date is parsed using an ISO8601 format of "yyyy-MM-dd'T'HH:mm:ss".
If a valid date can be parsed, the resultant date value is used.
- Otherwise, the date is parsed using a locale default short date
format. If a valid date can be parsed, the resultant date value is
used.
- Otherwise, if the date is of the form "iNNNN"where NNNN is
a decimal integer, a date value is formed treating the number as the
number of seconds since 1 January 1970 00:00:00 GMT.
- Otherwise, if the date is of the form "xNNNN" where NNNN is
a hexadecimal integer, a date value is formed treating the number
as the number of seconds since 1 January 1970 00:00:00 GMT.
- Otherwise, the date is reported as invalid.