Group: Forum Members
Posts: 5,
Visits: 8
|
Hi, I have logs from the ptp4l service that log entries as a kernel uptime duration instead of real time or epoch duration. For example, the entries might be something like:
ptp4l[1234.567] message is here ptp4l[1235.678] message is here
When I use ElapsedDecimal, it doesn't properly parse the seconds bit before the decimal, and I also cannot set an offset. Essentially what I'm doing is copying the log file and taking a system time of the machine at the same time so that I have the last entry very closely aligned with the datetime that I pulled the data.
I'd like to be able to convert the elapsed duration to a real DateTime stamp. Any tips on how to do that?
|