MonthFromDate() Function in Transformer Stage in DataStage

MonthFromDate returns the month number from the given date.
Input: date
Output: month_number (int8)
Examples. If link1.mydate contains date 2008-08-21, then the function returns the value 8.

You can watch video tutorial of this function here:



Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: