AIPS HELP file for GETDATE in 31DEC25
As of Wed Mar 26 17:41:40 2025
GETDATE: Converts the current date/time to a string
INPUTS
FORMAT 0.0 3.0 0-4 choose format of THEDATE
@ Output only adverb
THEDATE @ Date/time string
HELP SECTION
GETDATE
Type: verb
Use: To convert the current date and time into a string
Input adverb:
FORMAT.....= 3 => YYYYMMDDHHMMSS
= 2 => YYYYMMDD.HHMMSS
= 1 => YYYYMONDD.HHMMSS
else => YYYY-MON-DD HH:MM:SS
where MON is DEC, NOV, OCT, etc
Output adverb:
THEDATE....The current date and time in a format as given above.
EXPLAIN SECTION