Hi,
Here's some JScript that will give you the simpler date format from your stored XML date, try this:
> var xdDate = XDocument.DOM.selectSingleNode("//my:Date").text // i.e: 2004-07-09T00:00:00.0000000+08:00
> var arDate = xdDate.substr(0, 10).split("-");
> var sDate = arDate[1] + "/" + arDate[2] + "/" + arDate[0];
>
> Results in sDate: 07/09/2004
Hope this helps!
Shilpa
INFOPATHDEV India