Adds minutes to a DateTime attribute or variable.
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
Data Types:
DateTime
This method adds the specified number of minutes to a given date and time, returning a DateTime with the additional minutes. It is useful for scenarios where you need to manipulate date and time values by adding or subtracting minutes.
&AppointmentDateTime = &AppointmentDateTime.AddMinutes(10) // Adds 10 minutes to &AppointmentDateTime variable
AddHours method
AddDays method