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

RelativeDate – PB Docs 150 – PowerBuilder Library

RelativeDate – PB Docs 150

RelativeDate PowerScript function

Description

Obtains the date that occurs a specified number of days after
or before another date.

Syntax

Argument

Description

date

A value of type date

n

An integer indicating a number of days

Return Values

Date. Returns the date that occurs n days
after date if n is greater
than 0. Returns the date that occurs n days
before date if n is less
than 0. If any argument’s value is null, RelativeDate returns null.

Examples

This statement returns 2006-02-10:

This statement returns 2006-01-21:

See Also

  • DaysAfter

  • RelativeDate method
    for DataWindows in the DataWindow Reference or the online Help


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