Is there a way to use DateTime::CreateFromFormat
to convert a 0-6 integer into the name of a day of the week?
I am creating a calendar for a script and would like to let users customize the way the days of the week display (Mon vs Monday) so using an array of the week day names is not desirable.
How can I use CreateFromFormat to do this?