mirror of
https://github.com/simh/simh.git
synced 2026-01-26 12:02:14 +00:00
SCP: Add DATE_19XX_YY and DATE_19XX_YYYY variable insertion.
These variables can be used in SEND scripts which are setting the date/time on non Y2K compliant operating systems.
This commit is contained in:
@@ -291,8 +291,8 @@ Command Aliases
|
||||
Omitted parameters result in null-string substitutions.
|
||||
|
||||
A Tokens preceeded and followed by % characters are expanded as environment
|
||||
variables, and if one isn't found then can be one of several special
|
||||
variables:
|
||||
variables, and if an environment variable isn't found then it can be one of
|
||||
several special variables:
|
||||
|
||||
%DATE% yyyy-mm-dd
|
||||
%TIME% hh:mm:ss
|
||||
@@ -303,11 +303,16 @@ Command Aliases
|
||||
%DATE_YYYY% yyyy (0000-9999)
|
||||
%DATE_YY% yy (00-99)
|
||||
%DATE_MM% mm (01-12)
|
||||
%DATE_MMM% mmm (JAN-DEC)
|
||||
%DATE_DD% dd (01-31)
|
||||
%DATE_WW% ww (01-53) ISO 8601 week number
|
||||
%DATE_WYYYY% yyyy (0000-9999) ISO 8601 week year number
|
||||
%DATE_D% d (1-7) ISO 8601 day of week
|
||||
%DATE_JJJ% jjj (001-366) day of year
|
||||
%DATE_19XX_YY% yy A year prior to 2000 with the same
|
||||
calendar days as the current year
|
||||
%DATE_19XX_YYYY% yyyy A year prior to 2000 with the same
|
||||
calendar days as the current year
|
||||
%TIME_HH% hh (00-23)
|
||||
%TIME_MM% mm (00-59)
|
||||
%TIME_SS% ss (00-59)
|
||||
|
||||
Reference in New Issue
Block a user