hi all,
i've got a problem with the conversion of dayseconds to time of day.
i've converted the time of day 12:02:45 (hh:mm:ss) with:
this works very well but what about the other way around? i don't know how to convert dayseconds (e.g. 34567) in the time of day 09:36:07. which command should i use? maybe join?
can anyboby help me??
i've got a problem with the conversion of dayseconds to time of day.
i've converted the time of day 12:02:45 (hh:mm:ss) with:
Code:
gawk '{split ($3, time, ":")
t_sec = time[1]*3600+time[2]*60+time[3]}'\
input > output
this works very well but what about the other way around? i don't know how to convert dayseconds (e.g. 34567) in the time of day 09:36:07. which command should i use? maybe join?
can anyboby help me??