Returns a TDateTime that represents 12:00:00:00 AM on the day identified by a specified TDateTime.
function StartOfTheDay(const AValue: TDateTime): TDateTime;
TDateTime StartOfTheDay(const TDateTime AValue);
DateUtils
StartOfTheDay returns the first expressible moment of the same day as the TDateTime specified by AValue. That is, it replaces the time portion of AValue with 0 and returns the result.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|