Currently i have an issue by parsing a UNIX timestamp which has the following format and is from datatype string:
"7147610980292335270"
Example Message Payload: { "id":"e34ea3ef-3896-4aaa-85e9-83e5fcf6f5e0", "sysTime":"7147610980292335270", "valueBool":true }
Currently i tried to parse it with the nodes from the moments module. And there is also a possibility to use the BigInt Module ( BigInt - JavaScript | MDN (mozilla.org)) which is used inside a function. The problem is that i need to set always the settings.js file within the NodeRED deployment.
So basically the question is: Is there any easier way to convert the UNIX timestamp from the string shown above?