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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out 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 current date in string format like 06 june 2018. 

i need to pass this value in output excel

Labels (2)
1 Solution

Accepted Solutions
TRF
Champion II
Champion II

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

View solution in original post

2 Replies
TRF
Champion II
Champion II

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

aashish_21nov
Creator
Creator

 

It should be four times 'M'

because MMM return Jun and MMMM June

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