DateUtils.RecodeMinute

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From DateUtils.pas

	function RecodeMinute(const AValue: TDateTime; const AMinute: Word): TDateTime;


Unit: DateUtils

Type: function

Visibility: public

C++ Information

From DateUtils.hpp

	System::TDateTime __fastcall RecodeMinute(System::TDateTime AValue, unsigned short AMinute);


Unit: DateUtils

Type: function

Description

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


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 through 59.

If the value provided for AMinute is not in the legal range, RecodeMinute raises an EConvertError exception.

See Also

Code Samples


Personal tools
Translations
Newest Version