TrkItem.LastModified (method)

property LastModified
Syntax: Date = object.LastModified ( bLocalTime )
Parameters:
bLocalTime As Boolean -
Optional parameter. Default is False.
Set to False to return a UTC date.
Set to True to return a local date.
Description:
Returns the date and time the Item was last modified in the TADB. By default, returns a UTC date/time unless the bLocalTime is set to True, which returns local date/time.

Example

Dim oRoot As Object
Dim oItem As Object
Set oRoot = CreateObject("TADB.TADBRoot")
oTADBRoot.Load PointGet("$PROJECT")
oTADBRoot.TrkItems.ReadDB
Set oItem = oTADBRoot.TrkItems.Item(1)
MsgBox oItem.LastModified