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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
hechmi
Contributor III
Contributor III

how delete time from date

Hello
i have a probleme to convert a date :
2011-08-19   15:00:10.
in this format :
2011-08-19

 

how to delete time from date 2011-08-19  15:00:10.

best regards

Labels (2)
14 Replies
hechmi
Contributor III
Contributor III
Author

hi;
thak you i resolt this problem ,
i was modified in shema able source datetime -->date
bst regards
Anonymous
Not applicable

OK, that tells me that your Talend data type/class was Date. 

hechmi
Contributor III
Contributor III
Author

hi @rhall
i have other question
i try with this example inthis link but i have a problem i put screen 

http://diethardsteiner.blogspot.com/2012/02/talend-open-studio-populating-date.html


erreur.PNG
Anonymous
Not applicable

Your code is trying to do something to an object which is null. You will need to show your actual code for this. I suspect that maybe you are not getting dates for every row.

vapukov
Master II
Master II

@rhall - is right

 

many functions - string, date, double fail with error if argument is null
so, You need check - all function what You have in tMap, and handle null for them