Calculate difference of time betwwen two logs formats!

hello guys ,
i have used ruby filter to calculate difference of time betwwen two logs formats which are ;

That is not a date format that to_f can parse. You could use strptime to create a DateTime, then to_s that, and then use iso8601.to_f to convert that to a float.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.