Returns the date/time of the last update for the specified database/Unit.
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”