- Datagration Knowledge Base
- P#
- Time and Date Functions
-
Getting Started
-
Customer Training
-
Updates
-
Production Optimization
-
Artificial Lift Optimization
-
Completion Optimization
-
Environmental, Social & Governance
-
Development, Acquisition & Divestitures
-
Enhanced Oil Recovery
-
Admin
-
P#
- Getting Started with P#
- Data Cleansing
- String Functions
- Scenario Functions
- Regression Functions
- Placeholder Functions
- Neighborhood Functions
- Mathematical Functions
- Logic Functions
- Entities Function
- Moving Window Functions
- Time and Date Functions
- Statistical Functions
- Economic Functions
- Data Handling
- Additional Functions
- Directional Functions
- Machine Learning Functions
- Voronoi
- DCA Functions
-
Packages
EndOfPreviousTag()
Returns the end date and time of the first tag entry before the current step for the specified tag.
Syntax
EndOfPreviousTag(tagName)
Example
EndOfPreviousTag("Sand problem")
Returns the end date and time of the first tag entry before the current step for the specified tag and specified entity.
Syntax
EndOfPreviousTag(tagName, entityName)
Example
EndOfPreviousTag("Sand problem", "Well 1")