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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
soujanyam
Contributor
Contributor

[resolved] Get monthname in Uppercase

Hi everyone
I've to process one job which has to be scheduled. So I should do everything as automative. In job I've the input filename with current date format.
For example
sample_22-DEC-14
For this I'm using "sample_"+TalendDate.getDate("dd-MMM-yy"). Upto this ok.I could able to get date as sample_22-Dec-14, but it is throwing error as no such file or directory. So I need to get the monthname  in uppercase as DEC.
How could I achieve it in filename?
Any help would greatly appreciated.
Thank you in advance.
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable

use "sample_"+string.toUpper(TalendDate.getDate("dd-MMM-yy")) this may solve your problem. 

View solution in original post

2 Replies
Anonymous
Not applicable

use "sample_"+string.toUpper(TalendDate.getDate("dd-MMM-yy")) this may solve your problem. 
soujanyam
Contributor
Contributor
Author

Thank you for your reply.
I tried exactly what you said. It works.