Adding minutes to a datetime variables

Adding minutes to a datetime variables

Submitted by planetsourcecode on
Sometime we stuck in a problem in which we have to get a time which is after 20 or 60 minutes then there is simple function which can add minutes to a particular datetime variable take an example we want to add 60 minutes to present time, for this we simply do is make an 2 objects of current datetime class i.e. date1 and date2