addMinutes
Modified on Tue, 22 Aug 2023
Description
Use this function to add the specified number of minutes to the given date.
Syntax
addMinutes(date, number)
Returns
Return Value | Description |
---|---|
Date | Returns the resulting date after adding the specified number of minutes. |
Sample
Example | Result | Description |
---|---|---|
addMinutes (2023-04-08T12:00:00, 30) | Friday Apr 08 2023 12:30:00 | Returns the resulting date after adding 30 minutes to the input date (2023-04-08T12:00:00). |
To view all the Date functions, click here.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article