PBDOM_ATTRIBUTE:
GetDateValue method
Description
Returns
the value of a PBDOM_ATTRIBUTE object as type Date.
Syntax
|
1 |
<span>pbdom_attribute_name.</span>GetDateValue(string <span>strDateFormat</span>) |
|
Argument |
Description |
|---|---|
|
pbdom_attribute_name |
The name of the PBDOM_ATTRIBUTE |
|
strDateFormat |
The date format for the return value, |
The value of the strDateFormat parameter
can use slashes or colons as delimiters. The following table illustrates
characters with special meaning in strDateFormat.
|
Character |
Meaning |
Example |
|---|---|---|
|
D |
Day number with no leading zero |
5 |
|
DD |
Day number with leading zero, if applicable |
05 |
|
M |
Month number with no leading zero |
5 |
|
MM |
Month number with leading zero, if applicable |
05 |
|
YY |
Two-digit year number |
05 |
|
YYYY |
Four-digit year number |
2005 |
Return Values
Date.
Throws
EXCEPTION_DATA_CONVERSION – If
data conversion fails.
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest