Subtract Datetimes

I have a project with some temperature values which I want to "test’. The test is about “real-time” matter… So… I want in my project a field in which i will put the difference of time in miliseconds between the "now’ time(the time when the value is showed), and the “LastChange” from the value tag… In order to show that the values are realy showed in real-time… Some help, please?

If I understand what you are trying to accomplish correctly, you would probably want the value to use an expression binding using functions from https://docs.inductiveautomation.com/display/DOC79/Date+and+Time. Something like:

secondsBetween(now(), {TagPath.LastChange})