FANDOM


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.

Usage

Syntax: RTIM

Examples

Using OUTV and the CAOS Command Line, show the number of seconds that have passed since Jan 1, 1970, midnight UTC (aka UNIX time):

OUTV RTIM

Using OUTS, RTIF, and the CAOS Command Line, show the current (real world) hour in 24-hour format:

OUTS RTIF RTIM "%H"

See also

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.