Creates a new DateTime adding the specified values to the current date and time in this.
Add negative values to subtract.
this |
a DateTime |
years |
the number of years to add |
months |
the number of months to add |
days |
the number of days to add |
hours |
the number of hours to add |
minutes |
the number of minutes to add |
seconds |
the number of seconds to add |
the newly created DateTime that should be freed with |