I need to extract datetimes from xml in both long (yyyy-MM-dd HH:mm:ss) and short (yyyy-MM-dd) format from an xml doc. Date format can vary by locality e.g. MM/dd/yyyy vs yyyy-mm-dd.
The app is run in each locality so will know what the local localisation is.
Question: How do I 1. extract dates from the xml node inner text using whatever is the local date format 2. extract the dates using long or short format given that I may not know which has been supplied in the xml node