Edit The Code:
See Result »
Try it Yourself - ©
w3ii.com
Click the button to display the date after setting the date to be the last day of last month.
Try it