Returns the end date and time of the last closed tag entry for the specified tag.
Syntax
date/time EndOfTag(tagName)
Example
EndOfTag("Sand problem")
Definition 2
Returns the end date and time of the last tag entry in the specified state for the specified tag.
Tag entry states:
1. Open
2. Closed
3. Any
2. Closed
3. Any
Syntax
EndOfTag(tagName, tagEntryState)
Example
EndOfTag("Sand problem", "Open")
EndOfTag("Sand problem", TagEntryStates.Open)
Definition 3
Returns the end date and time of the last tag entry in the specified state for the specified tag and specified entity.
Tag entry states:
1. Open
2. Closed
3. Any
2. Closed
3. Any
Syntax
EndOfTag(tagName, tagEntryState, entityName)
Example
EndOfTag("Sand problem", "Open", "Well 1")
EndOfTag("Sand problem", TagEntryStates.Open, "Well 1")
Definition 4
Returns the end date and time of the related tag entry in the specified state for the specified tag and specified entity.
Tag precedence:
1. First
2. Last
3. Previous
4. Next
2. Last
3. Previous
4. Next
Tag entry states (only when precedence = Last):
1. Open
2. Closed
3. Any
2. Closed
3. Any
Syntax
EndOfTag( tagName, entityName, tag entry precedence tagEntryPrecedence, tag entry state tagEntryState)
Example
EndOfTag("Sand problem", "Well 1", TagPrecedences.Last, TagEntryStates.Open)