xsl-list
[Top] [All Lists]

Re: [xsl] Xquery ->Convert string to datetime

2010-09-26 14:14:36
I found the following function

dateTime(xs:date("2006-04-30"),xs:time("00:00:00"))

But when I use this, I am receiving error:

functions}dateTime": unknown function (or number of arguments (2) is wrong)     
....





--- On Sun, 9/26/10, sudheshna iyer <sudheshnaiyer(_at_)yahoo(_dot_)com> wrote:

From: sudheshna iyer <sudheshnaiyer(_at_)yahoo(_dot_)com>
Subject: [xsl] Xquery ->Convert string to datetime
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Date: Sunday, September 26, 2010, 2:52 PM
Team, 

I wanted to convert "2010-06-14" to xs:datetime
->2010-06-14T00:00:00Z using Xquery. Are there any
functions to achieve this without writing java code? 

If this is not the right forum, can you suggest the correct
mailing list to post this question?


      

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




      

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>