[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: dateTime conversion

Subject: Re: dateTime conversion
From: sudheshna iyer <sudheshnaiyer@xxxxxxxxx>
Date: Sun, 3 Oct 2010 16:02:19 -0700 (PDT)
Re:  dateTime conversion
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:  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.