한 주의 첫 번째 및, 마지막 날짜 구하기.
// 한주의 첫 번째 날짜 구하기 function getFirstDayOfWeek(aYear, aMonth, aWeek:SmallInt):ShortInt; var dtTmpDate : TDateTime; ii, liDays, liFirstDayOfYear, liOffsetDay, liResult : SmallInt; function getDaysOfMonth(y, m : Word): Integer; begin case m of 1,3,5,7,8,10,12 : Result := 31; 4,6,9,11 : Result := 30; 2 : begin if (y mod 4 = 0) then begin if (y mod 100 = 0) then begin if (y mod..