11-30-2009 11:59 PM
Ya that should be the next obvious step and the previous reply was meant for RexDoug
12-01-2009 05:31 AM
I have solved the problem in a crude way.
As mentioned previously the string that i was receiving was of the following format.
"5 Dec 1987 09:56"
When i initially passed it through the HttpDateParser it returned zero cos it did not support this format.
I went on to append the string with " :00 " . And so now it looks like "5 Dec 1987 09:56:00" and HttpDateParser took care of the rest...
08-26-2010 02:36 PM
Hi, Any body try this time format "YYYY-MM-DDThh:mm:ssTZD" with OS 4.5? I have time string like "2010-08-18T12:52:14-07:00", the HttpDateParser always return the time as timezone +07:00. But in OS 4.6 and higher, return date is correct. Is that bug of OS4.5 that make the timezone wrong?
08-26-2010 05:20 PM
I found the OS4.5 reverse the timezone, parse -07:00 as +07:00 and parse +07:00 as -07:00, i have to switch the +/- before send the string to HttpDateParser of OS 4.5.