hi,
i'm writing an AWK script in which i need to convert one of my data field to total seconds. the data field is written in the file as
Code:
"day-month-2024 hour:minutes:seconds"
for example "17-apr-2024 08:58:45.6789"
i know how to convert a single day, the year, the hour, and the minutes. what i don't know how to convert to seconds is the month because that changes the number of Days.
thanks for your help!