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: 
Darmesh
Contributor III
Contributor III

how to get date in string format

I need to get date in string format like 09 january 2017. 

i need to pass this value in output excel

Labels (2)
2 Replies
Jesperrekuh
Specialist
Specialist

TalendDate.formatDate("any format you want", yourDateValueAsADateType)
aashish_21nov
Creator
Creator

TalendDate.formatDate("dd MMMM yyyy",TalendDate.getCurrentDate()) to populate your output field which must be declared as a String.

 

 

TalendDate.getCurrentDate() replace this with your date field input.