|
add seconds to: date"|"time"|"HHMMSS
Hy all,
i have a shell that invokes a AWK.
In this AWK i want invoke a function that receives 3 parameters:
1. date: 20080831
2. time: 235901
4. duration: 00023
that function receive this 3 parameters and sum to this value two more seconds:
2008083123590100025
remember that in case that i have 23h 59m and 59s, the additional 2 seconds chood change the time to the next day...
the output of the function is this value... that i need to get him in my AWK...
how can i do this...??? can anyone help me?
thanks
Last edited by anaconga; 08-27-2008 at 01:39 PM..
Reason: additional information
|