A couple of us are doing security systems for our project. I thought this might be useful for putting time stamps directly on the OpenHAB screen.
Item Definition:
DateTime itm_mailbox_time "Mailbox Last Updated [%1$tA, %1$tm/%1$td, %1$tI:%1$tM %1$tp]"
Sitemap:
Text item=itm_mailbox_time
Rule:
rule "update mailbox" when Item itm_mailboxmqtt received update then postUpdate(itm_mailbox_time, new DateTimeType()) end