User Tools

Site Tools


xtdb:applescript:lastentrydatefor

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”
xtdb/applescript/lastentrydatefor.txt · Last modified: 2023/02/13 14:52 by 127.0.0.1