Returns Year, Month, and Day values for a DateTime value.
The ibec_DecodeDate breaks the value specified as the Date parameter into Year, Month, and Day values. If the given DateTime value is less than or equal to zero, the year, month, and day return parameters are all set to zero.
function ibec_DecodeDate(Date: TDateTime; var Year, Month, Day: Word);
execute ibeblock as begin ibec_DecodeDate(ibec_Now, iYear, iMonth, iDay); ibec_ShowMessage(iYear || ' ' || iMonth || ' ' || iDay); end