StartofTag()
Returns the start date and time of the first tag entry for the specified tag.
Syntax
StartOfTag(string tagName)
Example
StartOfTag("Sand problem")
Definition 2
Returns the start date and time of the first tag entry for the specified tag and specified entity.
Syntax
StartOfTag(string tagName, string entityName)
Example
StartOfTag("Sand problem", "Well 1")
Definition 3
Returns the start date and time of the related tag entry for the specified tag and specified entity.
Tag precedence:
1. First
2. Last
3. Previous
4. Next
2. Last
3. Previous
4. Next
Syntax
StartOfTag(string tagName, string entityName, tag entry precedence tagEntryPrecedence)
Example
StartOfTag("Sand problem", "Well 1", TagPrecedences.Next)
Definition 4
Returns the start 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
StartOfTag(string tagName, string entityName, tag entry precedence tagEntryPrecedence,
tag entry state tagEntryState)
Example
StartOfTag("Sand problem", "Well 1", TagPrecedences.Last, TagEntryStates.Open)