I have a problem with extracting the date part from the dateTime datatype. I am getting my output *2012-09-28T21:49:45* in this format. I need to extract the date part that is
*2012-09-28* excluding the time. Kindly help me out in doing this. I am new to xml world. Sorry if this question seems to be too silly but I am totally help less.
Thanks for you kind reply. I have a webservice invoking which I would get some data in which I have date as one of its element. I am getting date in the below shown format.
I need to send response in <DATE>2012-04-16</DATE> this format. I am doing some transformation in the xquery using <DATE>xs:date($date to be converted)</DATE> this
function. But I am getting error while testing the xquery. I guess I am going with wrong function. Kindly help me out in extracting the date part of dateTime data type.
Edited by: 887737 on Apr 19, 2012 5:36 AM