Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
How to Convert this "Tue, 26 Jun 2018 09:00:15 -0500" {Datatype - String} into "20180626" {Datatype - String} 
and another is 
How to Convert this "Wed Jun 27 15:57:11 IST 2018" {Datatype - String} into "20180626" {Datatype - String}
By Using TalendDate.parseDate it throws Unparsable Date error !!
 Jesperrekuh
		
			Jesperrekuh
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		 Jesperrekuh
		
			Jesperrekuh
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		 
					
				
		
I'm getting this error
Exception in component tFileCopy_6 (FetchFromGmail)
java.lang.RuntimeException: java.text.ParseException: Unparseable date: "Thu, 21 Jun 2018 09:00:31 -0500"
at routines.TalendDate.parseDate(TalendDate.java:898)
at routines.TalendDate.parseDate(TalendDate.java:842)
at delwarejob.fetchfromgmail_0_1.FetchFromGmail.tPOP_5Process(FetchFromGmail.java:1506)
at delwarejob.fetchfromgmail_0_1.FetchFromGmail.runJobInTOS(FetchFromGmail.java:2185)
at delwarejob.fetchfromgmail_0_1.FetchFromGmail.main(FetchFromGmail.java:1807)
Caused by: java.text.ParseException: Unparseable date: "Thu, 21 Jun 2018 09:00:31 -0500"
at java.text.DateFormat.parse(Unknown Source)
at routines.TalendDate.parseDate(TalendDate.java:884)
... 4 more
 Jesperrekuh
		
			Jesperrekuh
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		 
					
				
		
