PBDOM_ATTRIBUTE:
GetTimeValue method
Description
Returns
the value of a PBDOM_ATTRIBUTE object as type Time.
Syntax
1 |
<span>pbdom_attribute_name.</span>GetTimeValue(string <span>strTimeFormat</span>) |
Argument |
Description |
---|---|
pbdom_attribute_name |
The name of the PBDOM_ATTRIBUTE |
strTimeFormat |
The time format for the return value, |
The value of the strTimeFormat parameter
can use slashes or colons as delimiters. The following table illustrates
characters that have special meaning in strTimeFormat.
Character |
Meaning |
Example |
---|---|---|
H |
Hour number with no leading zero |
5 |
HH |
Hour number with leading zero, if applicable |
05 |
M |
Minutes number with no leading zero |
5 |
MM |
Minutes number with leading zero, if |
05 |
S |
Seconds number with no leading zero |
5 |
SS |
Seconds number with leading zero, if |
55 |
Return Values
Time.
Throws
EXCEPTION_DATA_CONVERSION – If
data conversion fails.
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest