Hey,
I have a date object stored as a process variable instance,
Is there a way to format a date into a string using EL exp ?
(I’m running the standard Tomcat edition so I assume CDI is not available easily to register custom EL funcs)
Thanks
Hey,
I have a date object stored as a process variable instance,
Is there a way to format a date into a string using EL exp ?
(I’m running the standard Tomcat edition so I assume CDI is not available easily to register custom EL funcs)
Thanks
Hi @Asaf_Shakarzy,
Using Date#toString
would probably be the easiest way. See https://docs.oracle.com/javase/8/docs/api/java/util/Date.html#toString-- for specifics.
If you need a specific format, I recommend using a script instead of EL.
Cheers,
Thorben
yea i don’t think we can instantiate a new instance of date in EL,
so i’ll fallback to other options,
thanks!