System.TDateTime.DecodeDate
C++
void __fastcall DecodeDate(unsigned short* year, unsigned short*
month, unsigned short* day) const;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | systdate.h | System | TDateTime |
Description
Separates the TDateTime value into year, month, and day values and stores these values in the year, month, and day parameters, respectively.
Use DecodeDate() when you need to access the year, month, or day of a TDateTime object’s date portion.