Showing timestamp of item value update in a mainUI card?

Hello,

i would like to show the timestamp of the last change/update of an item in a label card at main ui.
Can i somehow get access to the timestamp?

Thanks for your help,
Alex

The timestamp is not inherently stored anywhere the UI has easy access to; the simple solution to this is a secondary item and the timestamp profile:

Create a secondary item like JustinG said:

Select Timestamp on update or Timestamp on change.

Also if you want the time to be displayed for example like this:
2021-05-31 08:17:45
Go to the item and then add metadata:
image

Add the state description:
and put this in for example: %1$tY-%1$tm-%1$td %1$tH:%1$tM:%1tS
image

Then in the main UI card the code to display the formatted date for example is:
=items.Doorgarage_Doorgaragelastupdate.displayState

image

image

It will show up in the properties in OH3 if you assign the properties:

Hope that helps.