I’m stuck with a string conversion to xs:date. I would really appreciate any help and tips!
I have a string that represents date in the format of “01 Jan 00”, which I need to convert to xs:date, so that I can manipulate it further.
Is there a function or something already there so that I can convert my so ever difficult string representation of date? Would I need to write a function from scratch to convert month in “MN” format into its number representation?
Please help! 🙂
Thank you!
Daria
I ended up writing a simple function that would determine between two date formats I have in my XML: “01 Jan 00” and a standard date-time string “2000-01-01”; and convert the non-standard to standard “YYYY-MM-DD”.
Then I use EXSLT functions (http://www.exslt.org/date/index.html) to manipulate with dates further.