I’ve tried to create a single line command to convert a particular column in a CSV from EPOCH to human readable. The file contains various columns, depending on the particular file. E.g. in this file EPOCH is in column 3 of 3, in another file it is in column 5 of 9. The basic conversion works when done manually, so
Tag: epoch
weird issue with time function in C
I’m trying to get my Beaglebone Green to read an input from a certain pin, and when that pin sees a 1 to 0 transition (defined in pulse()), then it should set a timer. I want to make my timer like this: In idle, the timer is set to a TIMER_HOLD value (900000) To start the timer, I set it
How to convert timestamp from Hexadecimal format to EPOCH timestamp?
I am looking for a Linux command to convert hexadecimal time format to Linux timestamp. I have tried this command: But it seems to be wrong, the epoch output of 0xd6979880 should be 1391270400. Please correct me if I am wrong. Answer From your description (expecting 1391270400 instead of 3600259200), at appears that your hex dates are seconds since 1900-01-01