Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi!
I need add +2:00 hours if < 22:00 hours and +1:00 hours if > 22:00 hours to existing data format but I don’t know to do... somebody could help me?
Hello,
Are you trying to compare the current date or fixed incoming date?
Here is a ternary operation in tMap.
condition?true:false
Best regards
Sabrina
Hi! Thank you for answering me. My problem is I try to apply this condition
row2.Fecha_licitacion.getHours()==22?TalendDate.addDate(row2.Fecha_licitacion,2,"HH"):TalendDate.addDate(row2.Fecha_licitacion,1,"HH")
But I can´t because these
Could you help me?
Hello,
This ternary operation in tMap is used for String type not Date. Please try to format your Date.
Best regards
Sabrina