You are not logged in.
Announcement
Unanswered posts
|
Pages: 1

Hi guy,
Is the tmap compoment can be used for soustract a fixed value to a date type input row (I mean soustract one hour or one day) ?
I saw somewhere in this forum few posts about talendDate.diff( rowinput.myfiledate, XXX)
How a duration can be manage ?
BTW I will be able to use a tjavaflex component despite I'm not quite sure to fully understand the input/ouput row execution (like the trun component furthermore)
BR
epox
Offline
Hello
Is the tmap compoment can be used for soustract a fixed value to a date type input row (I mean soustract one hour or one day) ?
yes, go to 'repository' -->Code-->Routines-->System and see the routine: TalendDate provided by Talend, it embeds some useful methods for date operation, for example, convert a String to a Date:
TalendDate.parseDate("yyyy-MM-dd HH:mm:ss", 2010-03-11 10:15:10)
Best regards
Shong
Offline
Pages: 1