rmcguire 28206 - Thursday, March 23, 2017 11:26 AM
It's because 0 is shorthand for 1900-01-01 and -1 is shorthand for 1899-12-31. Since -1 is the end of the month before 0, this calculation will produce the end of the month before the current date.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA