systemDateSet Function

Changes the system date.


date systemDateSet(date _date)

Parameter

Description

_date

The date to change the system date to.

The new system date.

The following example sets the system date to today's date.

static void systemDateSetExample(Args _arg)
{
    date d = today();
    ;
    d = systemDateSet(d);
    print d;
    pause;
}

Community Additions

ADD
Show: