ReplaceDate

Replace the date part of a date/time stamp

Declaration

Source position: datih.inc line 202

  procedure ReplaceDate(var DateTime: TDateTime; const NewDate: TDateTime);

Description

ReplaceDate replaces the date part of DateTime with NewDate. The time part is left unchanged.

See also

Name Description
ReplaceTime Replace the time part