I have string of date from xml file of such kind: '2010-09-09T22:33:44.OZ'
I need to extract only date and time. I want to ignore symbol T and .OZ (time zone). Which mask I should use? Thanks in advance
I have string of date from xml file of such kind: '2010-09-09T22:33:44.OZ'
I need to extract only date and time. I want to ignore symbol T and .OZ (time zone). Which mask I should use? Thanks in advance
If the timezone information is needed:
But
OZ
isn't a recognised timezone abbreviation, so you'd need to do some pre-conversion of that to something that is.If you want to just ignore that part, and it's fixed, you can do what @Jeffrey Kemp said:
If you want to ignore it but it isn't fixed then you'll need to trim it off first, something like (using a bind variable here for brevity):