- 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
StartOfPreviousTag()
Returns the start date and time of the first tag entry before the current step for the specified tag.
Syntax
StartOfPreviousTag(tagName)
Example
StartOfPreviousTag("Sand problem")
Returns the start date and time of the first tag entry before the current step for the specified tag and specified entity.
Syntax
StartOfPreviousTag(tagName, entityName)
Example
StartOfPreviousTag("Sand problem", "Well 1")