Hi,

I found how to get an XML date format in java, here's the way:

GregorianCalendar cal = new GregorianCalendar(2010, Calendar.JULY, 15, 15, 
29, 17);
XMLGregorianCalendar xmlCal = DatatypeFactory.newInstance
().newXMLGregorianCalendar(cal);

Then...

xs:dateTime('" + xmlCal.toXMLFormat() + "')

 Thank you Alex.

Reply via email to