RTIM is a CAOS command for getting the current (real-world) time in UNIX/POSIX Time format. It returns an integer. (Real TIMe)
Unless RTIM is being used with another variable to store the date/time, RTIM is usually paired with RTIF which formats the RTIM integer into a human-readable string.
Using OUTV and the CAOS Command Line, show the number of seconds that have passed since Jan 1, 1970, midnight UTC (aka UNIX time):
Using OUTS, RTIF, and the CAOS Command Line, show the current (real world) hour in 24-hour format:
OUTS RTIF RTIM "%H"