timeNow Function

Retrieves the current system time. The time is returned as the number of seconds that have elapsed since midnight.


int timeNow()

The number of seconds since midnight.

static void timeNowExample(Args _arg)
{
    int i;
    ;
    i = timeNow();
    print "The number of seconds since midnight is " + int2Str(i);
    pause;
}

Community Additions

ADD
Show: