DecodeDate
Returns Year, Month, and Day values for a TDateTime value.
Structure
DecodeDate(Date: TDateTime; var Year, Month, Day: Word);
Parameters
Description
The DecodeDate procedure breaks the value specified as the Date parameter into Year, Month, and Day values. If the given TDateTime value is less than or equal to zero, the year, month, and day return parameters are all set to zero. |