xsl-list
[Top] [All Lists]

Re: [xsl] dateTime conversion

2010-10-04 16:09:24
On 04/10/2010 21:50, sudheshna iyer wrote:
That is why I want to convert "2010-10-03T18:15:20-0400" to 
"2001-12-17T09:30:47Z".



why do you keep using this example where the from and to times are clearly different, not even in the same year?

Several times on the thread you've been asked if you just want to correct the input to be a legal XSD date format (ie fix the missing colon) or if you actually want to do a dateTime Conversion, in which case what conversion do you want, do you want to just change the timezone, keeping the local time the same, or do you want to convert to the time in UTC (Z) time at the instant expressed by th elocal time in the specified timezone?

Give an input and the result you want _for that input_.

David


--~------------------------------------------------------------------
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>