Thursday, 12 September 2013

Talend: print current system date in tJava using system.out.println



Talend: print current system date in tJava using system.out.println

We often have a need to print date on console output using tJava in job - this can be done for logging or for debugging purpose. There are many options available, i will mention some quick ones below.

System.out.println(new Date());
System.out.println(TalendDate.getCurrentDate());




1 comment: