04-25-2013 07:47 AM
Hello,
I would like to know how to update a date field to a specific date as 12-12-2014 ?
I try to use MVEL fn.date() but failed...
thanks
04-25-2013 10:35 AM
Hello Me,
I found this things:
This is the code that I did :
java.util.Calendar cal= java.util.Calendar.getInstance(java.util.Locale.getDefault()) ;
//warning calendar month starts at 0 (=JANUARY), 1(=FEBRUARY)...
cal.set(2999, 11, 31);
WorkflowVariables["birthDate"]=cal;
Info about calendar:=> result is 2999-12-31
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
System.err.println(format.format(cal.getTime()));
04-25-2013 10:35 AM
Hello Me,
I found this things:
This is the code that I did :
java.util.Calendar cal= java.util.Calendar.getInstance(java.util.Locale.getDefault()) ;
//warning calendar month starts at 0 (=JANUARY), 1(=FEBRUARY)...
cal.set(2999, 11, 31);
WorkflowVariables["birthDate"]=cal;
Info about calendar:=> result is 2999-12-31
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
System.err.println(format.format(cal.getTime()));
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.