last day of current month in transformer

use the function DaysInMonth.

example: Date = inputlink.dateVar

Year = YearFromDate(Date)

Month = MonthFromDate(Date)

Day = DaysInMonth(Date)

EndOfMonth = DateFromComponents(Year,Month,Day)

Leave a Reply

Your email address will not be published. Required fields are marked *