RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDateTime::DecodeTime Method

Separates the System::TDateTime::TDateTime value into hour, minute, second, and millisecond values and stores these values in the hour, min, sec, and msec parameters, respectively.

Pascal
procedure DecodeTime(var hour: unsigned short; var min: unsigned short; var sec: unsigned short; var msec: unsigned short);
C++
__fastcall void DecodeTime(unsigned short* hour, unsigned short* min, unsigned short* sec, unsigned short* msec) const;

Use System::TDateTime::DecodeTime() to access the hour, minute, second, or millisecond values of the System::TDateTime::TDateTime object’s time portion. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!