Looks like the library is ripe for a function that just adds minutes to a given time. I tried to step thru what you sent but got lost somewhere.
Looks like the follow factors come into play here:
g - 12 hour format
i - minutes
A - am or pm
s - seconds
n - month
d - day of month
Y - year (four digits)
I Need to sort all of this out. I guess the idea is that you have to account for all of the above, just in case it's 23:59 on December 31 and you want to add the three hours. Right?
But do we need all of the above factors if we are just dealing with hours of the day? For example, if I don't care about the year, month, or month day, only the hour and minute, can we simplify this a bit?
Thanks.