handle reverse day/month formats and use of ','