Syntax 3 For combining numbers into a date – PB Docs 125

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 Values

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


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