Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Convert date to integer

Hi,
In tMap, I am mapping one date field to two different output tables. In one table it is expecting a date, in another table it is expecting an integer. So, I need to convert a date field into integer for the second table.
How do I do that?
Thanks,
Boris
Labels (2)
2 Replies
Anonymous
Not applicable
Author

I was able to find a workaround for this, however, now I need to convert a String to BigDecimal and I am not able to do that.
What is the best way?
Anonymous
Not applicable
Author

Does anyone have a solution for me on converting String to BigDecimal?
Oracle expects a NUMBER in this column. And I have it as String in tMap.
I am mapping this same field to another column in another table as: TalendDate.parseDate("MM/dd/yyyy",row1.newColumn9)