Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Day – PB Docs 2021 – PowerBuilder Library

Day – PB Docs 2021

Day

PowerScript function

Description

Obtains the day of the month in a date value.

Syntax

Argument

Description

date

A date value from which you want the day

Return value

Integer.

Returns an integer (1 to 31) representing the day of the month in
date. If date is null, Day returns null.

Examples

These statements extract the day (31) from the date literal
2004-01-31 and set li_day_portion to that value:

These statements check to be sure the date in sle_date is valid, and
if so set li_day_portion to the day in the sle_date:

See also

Date

IsTime

Month

Year

Day method for DataWindows in the section called “Day” in DataWindow Reference.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x