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

Syntax 3: For combining numbers into a date – PB Docs 2019 – PowerBuilder Library

Syntax 3: For combining numbers into a date – PB Docs 2019

Syntax 3: For combining numbers into a date

Description

Combines numbers representing the year, month, and day into a date
value.

Syntax

Argument

Description

year

The 4-digit year (1 to 9999) of the date

month

The 1- or 2-digit integer for the month (1 to 12) of the
year

day

The 1- or 2-digit integer for the day (1 to 31) of the
month

Return value

Date.

Returns the date specified by the integers for year, month, and
day as a date datatype. If any value is invalid (out of the range of
values for dates), Date returns 1900-01-01. If any argument’s value is
null, Date returns null.

Examples

These statements use integer values to set ld_my_date to
2005-10-15:

See also

DateTime

DaysAfter

RelativeDate

RelativeTime


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