Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
context.filename = "filename_"+TalendDate.getDate("yyyyMMdd_HHmm")+".dat";
context.timeStamp = TalendDate.formatDate("yyyyMMdd_HHmmssSSS",TalendDate.getCurrentDate());
Instead, No need of Context Variable or Context load component.
Directly provide the expression in the filename property - it works
"D:/filedirectory/fileout_"+TalendDate.formatDate("yyyyMMdd_HHmm",TalendDate.getCurrentDate())+".csv"
Instead, No need of Context Variable or Context load component.
Directly provide the expression in the filename property - it works
"D:/filedirectory/fileout_"+TalendDate.formatDate("yyyyMMdd_HHmm",TalendDate.getCurrentDate())+".csv"
Hi,
Could you please let me know how can we append the date to the file name in cst format?