Timestamp at text node

Hi,

I want to build a dashboard. Usually I use the text node to visualize my states. Is there any chance to show the timestamp of the last changing of the state? I mean something like this app:

In the Function node, write

Function 1
let date = new Date();
flow.set("date", date);

Function 2
let FullYear = flow.get("date").getFullYear();
let getMonth = flow.get("date").getMonth();
let getDate = flow.get("date").getDate();
let getHours = flow.get("date").getHours();
let getMinutes = flow.get("date"). getMinutes();

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