To answer your question, I'm querying a data table that someone else provides, so the date is coming to me in a YYYYMMDD number format.
I did figure out how to get the answer I was after, and it was much simpler than I thought after sort of going a different route...here's the successful...