based on SebBrookfield/DateAdd
DateTime Add is an Insomnia plugin that allows you to take the current date, add years/months/days/hours/minutes/seconds, and output in a specific format. This plugin uses the momentjs library for manipulating the dates.
The parameters are pretty self explanatory. The numeric parameters can also be negative.
The number of seconds to add to the current time.
The number of minutes to add to the current time.
The number of hours to add to the current time.
The number of days to add to the current date.
The number of months to add to the current date.
The number of years to add to the current date.
This is the format string for outputting the date. You can read more about formatting momentjs dates in the following documentation. https://momentjs.com/docs/#/displaying