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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
RAJ6
Contributor III
Contributor III

I need to convert string to date format

Hi Folks,

 

  • When I import my excel in talend
  • My date column datatype is string.
  • My date column value is there in this format (42905).
  • Please help me how to convert this number to date .

 

 

Labels (2)
3 Replies
ashif2
Creator II
Creator II

what is this 42905 means for MDDYY??

 

Can you specify the date format.. 

RAJ6
Contributor III
Contributor III
Author

this is the format MDDYY

ashif2
Creator II
Creator II

Add Variable Port  named:
FormatDate  = row2.Dated.length()==5?"0"+row2.Dated:row2.Dated 

In the tMap Output: 

TalendDate.parseDate("MMDDYY",Var.FormatDate)