전월, 다음월 등등 계산하기
procedure TForm1.FormShow(Sender: TObject); var wDate : TDateTime; y,m,d : word; begin wDate := now; //현재일자 //wDate := StrToDate(FormatMaskText('0000-00-00;0', '20061215')); //테스트특정일자 //wDate := StrToDate(FormatMaskText('0000-00-00;0', '20070401')); //테스트특정일자 DecodeDate(wDate,y,m,d); Label1.Caption := formatDateTime('yyyymmdd',wDate); MaskEdit1.text := formatDateTime('yyyymmdd',IncMonth(wdate,1)..
2008. 8. 13.