RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DateUtils.RecodeMinute Function

Replaces the minute of the hour for a specified TDateTime value.

Pascal
function RecodeMinute(const AValue: TDateTime; const AMinute: Word): TDateTime;
C++
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 

MinuteOf 

EConvertError

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!