Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have a column with many timestamps and I want to convert them from string to date but with java , not with tmap.
Thanks you.
@ravinderk This is very generic. I asked for some help.
Thanks god , I figure it out somehow
In tjavarow
//input the column with the date-string
String sDate1=input_row.newColumn2;
//parse with the format that our string has ! If We want other format we can change it in "edit schema".
Date date1=new SimpleDateFormat("dd-MM-yy HH:mm").parse(sDate1);
If someone has a different and better solution please post it.
Use timestamp functions in tjavaRow.
@ravinderk This is very generic. I asked for some help.
Thanks god , I figure it out somehow
In tjavarow
//input the column with the date-string
String sDate1=input_row.newColumn2;
//parse with the format that our string has ! If We want other format we can change it in "edit schema".
Date date1=new SimpleDateFormat("dd-MM-yy HH:mm").parse(sDate1);
If someone has a different and better solution please post it.