Skip to content

addMinutes()

Returns a new date shifted forward by the provided number of minutes.

Example:

ts
addMinutes(new Date('2024-03-15T12:00:00'), 15);

Released under the MIT License.