System.DateUtils.DecodeDateTime
Delphi
procedure DecodeDateTime(const AValue: TDateTime; out AYear, AMonth, ADay, AHour, AMinute, ASecond, AMilliSecond: Word);
C++
extern DELPHI_PACKAGE void __fastcall DecodeDateTime(const System::TDateTime AValue, /* out */ System::Word &AYear, /* out */ System::Word &AMonth, /* out */ System::Word &ADay, /* out */ System::Word &AHour, /* out */ System::Word &AMinute, /* out */ System::Word &ASecond, /* out */ System::Word &AMilliSecond);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.DateUtils.pas System.DateUtils.hpp |
System.DateUtils | System.DateUtils |
Description
Returns Year, Month, Day, Hour, Minute, Second, and Millisecond values for a TDateTime.
The DecodeDateTime procedure breaks the value specified as the AValue parameter into Year, Month, Day of the month, Hour, Minute, Second, and MilliSecond values and returns these as the AYear, AMonth, ADay, AHour, AMinute, ASecond, and AMilliSecond parameters.
See Also