|
Subject: Re: [xsl] Xquery ->Convert string to datetime From: sudheshna iyer <sudheshnaiyer@xxxxxxxxx> Date: Sun, 26 Sep 2010 12:14:26 -0700 (PDT) |
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@xxxxxxxxx> wrote:
> From: sudheshna iyer
<sudheshnaiyer@xxxxxxxxx>
> Subject: [xsl] Xquery ->Convert string to datetime
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxxxxxxxx>
> --~--
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Xquery ->Convert string to da, sudheshna iyer | Thread | Re: [xsl] Xquery ->Convert string t, G. Ken Holman |
| [xsl] Xquery ->Convert string to da, sudheshna iyer | Date | Re: [xsl] Xquery ->Convert string t, G. Ken Holman |
| Month |