Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Can someone get me right date format pattern for the below date style. I get this format in my XML feed and find a right pattern.
"2013-09-26T00:00:00-05:00"
"2014-09-26T00:00:00-05:00"
"2015-09-26T00:00:00-05:00"
Thanks
try
{
Date today = TalendDate.parseDate("yyyy-MM-dd'T'hh:mm:ss z", row1.Date_TimeZone);
//for testing purposes
System.out.println(today.toString());
} catch (ParseException e)
{
e.printStackTrace();
}