Official Content

Adds minutes to a DateTime attribute or variable.

Syntax

Date | DateTime.AddMinutes(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 minutes.

Numeric-expression
   Is a Numeric expression that indicates the number of minutes to be added to the Date | DateTime.

Type Returned:
DateTime

Scope

Data Types: DateTime

Samples

&AppointmentDateTime = &AppointmentDateTime.AddMinutes(10)  // Adds 10 minutes to &AppointmentDateTime variable

See Also

AddHours method
AddDays method

  


Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant