=====Last Entry Date For===== Returns the date/time of the last update for the specified database/Unit. ====Usage:==== * **last entry date for** [text: name of a unit or database] * **returns:** [date] ====Examples:==== Get the time of the last motion hit on the front porch. tell app “XTdb” to set lastFrontPorchEvent to last entry date for “front porch motion”