반응형 날짜 함수1 [개발/Delphi] 델파이 날짜 함수 델파이 날짜 함수 // include uses DateUtils // declaration //일자를 추출한다. function DateOf(const AValue: TDateTime): TDateTime; //시간을 추출한다. function TimeOf(const AValue: TDateTime): TDateTime; //평년,윤년을 구분하다. function IsInLeapYear(const AValue: TDateTime): Boolean; //오전,오후를 구분한다. function IsPM(const AValue: TDateTime): Boolean; //Word형의 년,월,일 파라메타의 유효성을 체크한다. function IsValidDate(const AYear, AMonth, ADay: W.. 2014. 2. 13. 이전 1 다음 반응형