Last Timestamp

Returns the date of the last change of state or update of value for the Unit.

Usage:

last timestamp of (name of unit)

Examples:

set MyDate to last timestamp of "Kitchen Motion"
write log "last kitchen motion was on " & (MyDate as text)