Re: [xsl] dateTime conversion

Subject: Re: [xsl] dateTime conversion
From: sudheshna iyer <sudheshnaiyer@xxxxxxxxx>
Date: Sun, 3 Oct 2010 16:02:19 -0700 (PDT)
Please ignore the portion that is before the timezone and convert
T18:15:20-0400 to T09:30:47Z

Numbers are just the samples. But if I take a
closure look at them, -0400 needs to be replaced with "Z"



--- On Sun,
10/3/10, Mukul Gandhi <gandhi.mukul@xxxxxxxxx> wrote:

> From: Mukul Gandhi
<gandhi.mukul@xxxxxxxxx>
> Subject: Re: [xsl] dateTime conversion
> To:
xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Date: Sunday, October 3, 2010, 6:54 PM
> On
Mon, Oct 4, 2010 at 4:08 AM,
> sudheshna iyer <sudheshnaiyer@xxxxxxxxx>
>
wrote:
> > I want to convert date time which is in format
>
"2010-10-03T18:15:20-0400" to "2001-12-17T09:30:47Z". Is
> there any simple
way?
> 
> What's different about these date instances? One is an year
> 2010
(TEN)
> & the other one is an 2001 (ONE) -- if this was
> deliberate, how
would
> you like this mapping to be established? But I do see that,
> the time
> zone formats in your example are of different flavor (-0400
> and Z).
> 
> I
think, you would need to explain the requirements a
> little more, for
> us to
help.
> 
> 
> 
> -- 
> Regards,
> Mukul Gandhi
> 
>
--~------------------------------------------------------------------
>
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