Skip to content

SQLite datalogger timestamp format

edited December 2020 in PLCnext Engineer

I'm using the SQLite datalogger to store measure and event values in two different configurations.

Now I wanted to use Node.js to read the data from the created databases, which works fine.

But now my question is how can i interpret the value in the "Timestamp" column as a readable date time?

e.g. a value in this column is 5249124847214548914 which is obviously no unix timestamp, because when converting this value to a readable date time it results in "27.12.166338146642 - 23:41:54"

My current setting in the datalogger configuration for Timestamp format is "RAW", but I also used ISO 8601 format, which ended in a similar result.

 

Comments

Sign In or Register to comment.