
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Convert timestamps with java
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.
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Use timestamp functions in tjavaRow.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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.
