prordd( ) - Read DATE Variable
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
The prordd( ) function reads the value of a shared DATE
variable.
On successful completion, prordd( ) returns 0; otherwise, it returns a
non-zero value:
Syntax
|
- psymnam
- This input parameter points to the name of the specified shared
DATEvariable. You supply the name from your OpenEdge application. - index
- This input parameter specifies an index value for an array variable. If the variable is not an array, you must set the value of index to 0.
- pyear
- This output parameter points to an integer where
prordd( )returns the value of year. - pmonth
- This output parameter points to an integer where
prordd( )returns the value of month. - pday
- This output parameter points to an integer where
prordd( )returns the value of day. - punknown
- This output parameter points to an integer where
prordd( )returns 1 if the variable has the Unknown value (?), and returns 0 otherwise.
See Also:
prordc( ) - Read CHARACTER Variable, prordi( ) - Read INTEGER Variable, prordl( ) - Read LOGICAL Variable, prordn( ) - Read DECIMAL Variable, prordr( ) - Read RECID Variable, prowtd( ) - Write DATE Variable