How to show Primavera P6 dates in month-year (mmm-yy) format

The date formats available in Primavera P6 are very limited and to best of my knowledge, you cannot get the mmm-yy (month-year) format straight out of the box. You might want to display dates in mmm-yy if you don’t want to show exact dates in issued schedules.
This P6 video outlines a workaround using UDF that can be used to achieve mmm-yy date format.