There is more than one way to do this. Here is how I would do it:
DateTime now = RTC.now();
byte hh = now.hour();
byte mi = now.minute();
byte ss = now.second():
// print the current time
Serial.print("Current time: ");
Serial.print(hh);
Serial.print(':');
Serial.print(mi);
Serial.print(':');
Serial.println(ss);
// now add 45 minutes
mi += 45;
// now do the carries
// 60 minutes make an hour
if (mi >= 60) {
mi -= 60;
hh++;
}
// 24 hours make a day
if (hh >= 24) {
hh -= 24;
// if you care about the date,
// you will need more code to handle the date
}
// print the resulting time
Serial.print("Future time: ");
Serial.print(hh);
Serial.print(':');
Serial.print(mi);
Serial.print(':');
Serial.println(ss);