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: 
NavinReddy
Creator II
Creator II

Month End

Dear All,

=date(date(MonthEnd(today()),'dd/mm/yyyy'),'dd/mm/yyyy')

I am using this to Disply monthend date but im  getting 28/59/2014 like this format

could some one help me disply this monthend date

Thanks In Advance

Niranjan

Labels (1)
1 Solution

Accepted Solutions
NavinReddy
Creator II
Creator II
Author

=Date(MonthEnd(Date(Date(Today(),'YYMM'),'MM-YYYY')),'DD/MM/YYYY')

this will return my format

View solution in original post

4 Replies
johnca
Specialist
Specialist

=date#(MonthEnd(Today()),'dd/mm/yyyy') will return 2/28/2014.

Note the # sign.

NavinReddy
Creator II
Creator II
Author

=Date(MonthEnd(Date(Date(Today(),'YYMM'),'MM-YYYY')),'DD/MM/YYYY')

this will return my format

Sokkorn
Master
Master

Hi Niranjan,

'dd/mm/yyyy' -> mm here will consider as minute. For date format it should be capital letter 'MM'.

Let try this =date(date(MonthEnd(today()),'dd/MM/yyyy'),'dd/MM/yyyy')

Or simply =date(MonthEnd(today()),'dd/MM/yyyy')

Regards,

Sokkorn

johnca
Specialist
Specialist

A more simple answer would be:

=date(MonthEnd(Today()),'DD/MM/YYYY')

This also returns 28/02/2014.

(I misread your format the first time)