Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am getting java.lang.RuntimeException: java.text.ParseException: Unparseable date: "2020-07-25"
I am using a tMap to do the below
context.Apttus__Contract_Start_Date__c != null &&
TalendDate.compareDate(TalendDate.parseDateInUTC("yyyy-MM-dd 00:00:00", context.Apttus__Contract_Start_Date__c.replaceAll("\"", "")), TalendDate.getCurrentDate(), "yyyy-MM-dd") == 1 ?
TalendDate.formatDateInUTC("yyyy-MM-dd 00:00:00", TalendDate.addDate(TalendDate.parseDateInUTC("yyyy-MM-dd 00:00:00", context.Apttus__Contract_Start_Date__c.replaceAll("\"", "")),2,"DD")) :
TalendDate.formatDateInUTC("yyyy-MM-dd 00:00:00", TalendDate.addDate(TalendDate.getCurrentDate(),2,"DD"))
"yyyy-MM-dd 00:00:00" will not work.
if you data is in format 2020-07-25 , no need to use 00:00:00 in pattern. "yyyy-MM-dd" would be enough.
Are you facing any problem?
"yyyy-MM-dd 00:00:00" will not work.
if you data is in format 2020-07-25 , no need to use 00:00:00 in pattern. "yyyy-MM-dd" would be enough.
Are you facing any problem?