To specify a date format:
-
Create a file that contains the date format for the DATEMSK environment variable. In this example, create /tmp/mdm.
Note: The DATEMSK environment variable must be set to the full-path of a file that contains the date format template. -
Enter the following:
export DATEMSK=/tmp/mdmThe following shows two examples based on the different date formats.If the content of /tmp/mdm is...
Then the date format for DATEMSK is...
%m/%d/%y %H:%M:%S
scrt_ra -C310 -D "05/05/18 16:15:00"
%y.%m.%d %H%M%S
scrt_ra -C310 -D "09.05.18 161500"
where:
-
%m–Month
-
%d–Day
-
%y–Year
-
%H–Hour
-
%M–Minute
-
%S–Second
Note: The date format must be specified exactly as it is in the DATEMSK environment
variable. For example, if you do not specify seconds (%S) in DATEMSK, you cannot specify
it in the command.