Help for this page

Select Code to Download


  1. or download this
    $DoW = $gdate % 7;
    
  2. or download this
    #===================================================================
    #   d2g() Convert year, month, and day to date factor G.
    ...
        my($Y, $M, $D) = g2d( d2g($y, $m, $d) );
        return $y == $Y && $m == $M && $d == $D;
        }