I receive from a Webservice a String with a date in this format:
yyyy-MM-ddTHH:mm:ss.fffZ
I need to convert that String with JavaScript to a normal DateTime but without using the new Date('yyyy-MM-ddTHH:mm:ss.fffZ')
because I'm using an old version of JavaScript that not support that conversion. I can split that string and get the:
- Year
- Month
- Days
- Time
but how to manipulate the time zone "fffZ"
Any suggestions?