Replaces the minute of the hour for a specified TDateTime value.
function RecodeMinute(const AValue: TDateTime; const AMinute: Word): TDateTime;
TDateTime RecodeMinute(const TDateTime AValue, const Word AMinute);
DateUtils
Call RecodeMinute to convert the date/time value specified by AValue with the value obtained by changing the minute of the hour to AMinute. Legal values for AMinute range from 0 to 59.
If the value provided for AMinute is not in the legal range, RecodeMinute raises an EConvertError exception.
ReplaceTime
RecodeDateMilliSecond
RecodeDateSecond
RecodeDateHour
RecodeDateDay
RecodeDateMonth
RecodeDateYear
EConvertError
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|