How to translate custom date in xml?
Posted: Mon Aug 04, 2014 4:51 pm
I have xml-files where all the dates are created like this:
201407211600
its yyyyMMddHHmm. So its no standard and the switch doesn't recognize it as a standard when using variables. Is it any way to make these dates Switch-friendly?
Its a lot of work asking to get them correctly... 4 different companies included...
Should I open the xml as a first step? Script making it Switch-friendly? Or anything else?
For instance Im putting all files in different folders with deadline dates... but it looks really bad when having "1600" in the end of the name. And I can't find anyway to exclude the last 4 digits from the node.
201407211600
its yyyyMMddHHmm. So its no standard and the switch doesn't recognize it as a standard when using variables. Is it any way to make these dates Switch-friendly?
Its a lot of work asking to get them correctly... 4 different companies included...
Should I open the xml as a first step? Script making it Switch-friendly? Or anything else?
For instance Im putting all files in different folders with deadline dates... but it looks really bad when having "1600" in the end of the name. And I can't find anyway to exclude the last 4 digits from the node.