primoYr Function

Determines whether the specified date is a primo date.


int primoYr(date date)

Parameter

Description

date

The date to test.

1 if the specified date is a primo date; otherwise, 0.

static void primoYrExample(Args _arg)
{
    ;
 
    if (primoYr(today()) == 1)
    {
        print "Today is a primo date";
    }
    else
    {
        print "Today is not a primo date";
    }
    pause;
}

Community Additions

ADD
Show: