Year

2019/07/17 19:00
48

int Year()

現在の年を返す。
言い換えると最後に確認できたサーバ時間での年を返す。
Note:テストでは、最後に確認できたサーバ時間はモデル化されている。
Sample:
// return if the date is within the range from 1 Jan. to 30 Apr., 2006.
if(Year()==2006 && Month()<5)
return(0);

コメント