Incrementing a time by one hour issues

Hi all,

I need your help to increment a time by one hour.

The difficulty is the time is in a string format and not a value

cat file | awk '{print $1,$2}'
09/02/2011 20:11
09/03/2011 20:11

I want to change the time to be as follows

09/02/2011 21:11 or even 09/02/2011 20:21

Can someone provide some advice please.

Thanks.

do you have gnu date?

try this...

date -d "09/02/2011 20:11 10 minutes ago" "+%b %d %H:%M:%S"

Worked a treat thanks.