int Year( )
Returns the current year, i.e., the year of the last known server time.
現在の年を返します。すなわち、最後に知り得たサーバー時刻の年です。
Note: At the testing, the last known server time is modelled.
注意:テストでは、最後に知り得たサーバ時刻はモデル化されています。
Sample:
サンプル:
// return if the date is within the range from 1 Jan. to 30 Apr., 2006.
if(Year()==2006 && Month()<5)
return(0);
|