Add minutes to a date/timestamp
Posted: Fri May 01, 2009 3:18 am
Hi guys,
I was wondering if there is a smart way to add minutes to a date to form a timestamp. I want to create a routine that has 2 parameters, one for the Date/timestamp (when a date is entered with no time 00:00:00 is set as default time) and one for the minutes to be added. I cant simply concatenate both values since the day can change if the time gets past 24:00 etc..
Is this possible with iconv? i cant seem to get this to work.
Kind regards,
A
I was wondering if there is a smart way to add minutes to a date to form a timestamp. I want to create a routine that has 2 parameters, one for the Date/timestamp (when a date is entered with no time 00:00:00 is set as default time) and one for the minutes to be added. I cant simply concatenate both values since the day can change if the time gets past 24:00 etc..
Is this possible with iconv? i cant seem to get this to work.
Kind regards,
A