Re: [xsl] dateTime conversion

Subject: Re: [xsl] dateTime conversion
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 04 Oct 2010 22:09:06 +0100
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

Current Thread