IPB_Session interface:
SplitDate method
Description
Splits the specified pbdate object into
a year, month, and day.
Syntax
|
1 |
SplitDate (pbdate <span>date</span>, pbint *<span>year</span>, pbint *<span>month</span>, pbint *<span>day</span>) |
|
Argument |
Description |
|---|---|
|
date |
The pbdate object |
|
year |
A year in the range 1000 to 3000 |
|
month |
A month in the range 1 to 12 |
|
day |
A day in the range 1 to 31 |
Return Values
PBX_RESULT. PBX_OK for success.
Examples
This statement splits the date in the first value
in the PBCallInfo structure:
|
1 |
Session -> SplitDate(ci-> pArgs -> GetAt(0) -><br>   GetDate(), &yy, &mm, &dd); |
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest