TrkItem.LastModified (method)

property LastModified
Syntax: Date = object.LastModified ( bLocalTime )
bLocalTime As Boolean -
Optional parameter. Default is False.
Set to False to return a UTC date.
Set to True to return a local date.
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.


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