Calculating last day of previous month based on current date

Duplicate of Alteryx custom column code into knime column expression node.