Month – PB Docs 2017

Month

DataWindow expression function

Description

Gets the month of a date value.

Syntax

Argument

Description

date

The date from which you want the month

Return value

Integer. Returns an integer (1 to 12) whose value is the month
portion of date.

Examples

This expression returns 1:

This expression for a computed column returns Wrong Month if the
month in the column expected_grad_date is not 6:

This validation rule expression checks that the value of the month
in the date in the column expected_grad_date is 6:

See also

Day

Date

Year

Month in the section called “Month” in PowerScript 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