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: 
Anonymous
Not applicable

string to timestamp converstion

hi all,

i have a string "yyyy-mm-dd HH:mm:ss" for example "2011-04-23 17:23:26". how do i convert this string to timestamp using talend?
Any pointers would be of great help.
Labels (2)
1 Reply
Anonymous
Not applicable
Author

Hi
Using the build-in system routine, TalendDate.parseDate(string pattern, Sting stringdate), for example:
TalendDate.parseDate("yyyy-MM-dd HH:mm:ss", "2011-04-23 17:23:26")
Best regards
Shong