I have a string that contains date in this format"2014-07-23T00:00:00-07:00"
I need to get the date part of it as output.
any of the formats dd-mm-yyyy, mm-dd-yyyy... etc
Asked
Active
Viewed 86 times
-1

Ankith
- 145
- 2
- 12
-
You can either a) cut up the string and re-arrange it or b) parse the string and reformat it. – Peter Lawrey Aug 09 '14 at 10:43