RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DateUtils.IncSecond Function

Returns a date/time value shifted by a specified number of seconds.

Pascal
function IncSecond(const AValue: TDateTime; const ANumberOfSeconds: Int64 = 1): TDateTime;
C++
TDateTime IncSecond(const TDateTime AValue, const Int64 ANumberOfSeconds = 1);

DateUtils

IncSecond returns the value of the AValue parameter, incremented by ANumberOfSeconds seconds. ANumberOfSeconds can be negative, to return a date and time N seconds prior to AValue. 

 

DecodeDate 

EncodeDate 

ReplaceDate 

IncMonth 

IncDay 

IncHour 

IncMilliSecond 

IncMinute 

IncWeek 

IncYear

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