Always use ISO 8601 date format in console logs.

- changed console log gathering to always use ISO 8601 date format "yyyy-MM-dd HH:mm:ss".
Previously the user's format was used, which made automatic processing harder.
- replaced deprecated atof() with strtod()