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: 
pgalvezt
Specialist
Specialist

Problem Date

Hello, I'm having problem with the format date I have this in my script:

MonthName(FieldName)-1 as Month,

MonthName(Date(FieldName,'MMM-YY'))-31 as Period,

But Oct appear like as number

Thanks!

3 Replies
pgalvezt
Specialist
Specialist
Author

Any Help!

Thanks!

regowins
Creator II
Creator II

What is the source format of the date? I am guessing you have already tired to format the date on the UI side using the number tab.

MayilVahanan

Hi

Try like this

Month(DateFieldName) as Month

If you use MonthName(DateFieldName)-1 gives number..

So please use Month() or MonthName() function

Hope that helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.