- Weatherford Knowledge Base
- P#
- Time and Date Functions
-
Getting Started
-
Customer Training
-
Customer Success
-
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
- 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
- DCA Functions
- Neighborhood Functions
-
Packages
DaysInMonth
Returns the number of days in month of the specified time or current time step.
Syntax
DaysInMonth(date)
-
- date: optional, if this argument is not specified, current time step will be used
Examples
DaysInMonth()
DaysInMonth(#05/16/1988 00:00#)
DaysInMonth(Now())