02-23-2012 02:07 AM
Hi
I have UTC date in string format. Can anybody know how to convert int date format.
If i use HttpDateParser its converted in to current date instead of UTC date.
String dateStr = "2012-02-23T06:29:23";
how to convert this dateStr to date.
Anyidea?
Thanks
mindus
02-23-2012 02:27 AM
02-23-2012 02:34 AM
Can u please give some sample or explain breifly
thanks
02-23-2012 05:19 AM
I'm betting it is correctly converted, but that you displaying the date using a function that converts to local time. So it is the converting of the date to human visible form that you need to change, not the parsing. Look at how you do this, and look at options to include Calendars with Time Zones settings or DateFields with TimeZone settings in your conversion.