Adds seconds to a DateTime attribute or variable.
Date | DateTime.AddSeconds(Numeric-expression)
Where:
Date | DateTime
Is an attribute or variable based on the Date/DateTime data type, to which the method will add a certain number of seconds.
Numeric-expression
Is a Numeric expression that indicates the number of seconds to be added to the Date | DateTime.
Type Returned:
DateTime
Data Types:
DateTime
Generators:
.NET,
.NET Framework, Java, Ruby (up to GeneXus X Evolution 3), RPG, Visual FoxPro (up to GeneXus X Evolution 3) , Cobol
Returns a DateTime value, corresponding to adding a Numeric-expression to the seconds of the Date | DateTime expression.
&DateTime = &DateTime.AddSeconds(&Secs)
TAdd function
Difference method