xsl-list
[Top] [All Lists]

Re: [xsl] dateTime conversion

2010-10-03 18:02:30
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(_dot_)mukul(_at_)gmail(_dot_)com> 
wrote:

From: Mukul Gandhi <gandhi(_dot_)mukul(_at_)gmail(_dot_)com>
Subject: Re: [xsl] dateTime conversion
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Date: Sunday, October 3, 2010, 6:54 PM
On Mon, Oct 4, 2010 at 4:08 AM,
sudheshna iyer <sudheshnaiyer(_at_)yahoo(_dot_)com>
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(_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>