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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

date format

hi,

i have feild like this "yymm" (1401)

how can i chenge it to the lest day of the month in this format :  "dd-mm-yyyy "

in the exm. it should be 31-01-2014.

thanks'

yarin.

    

1 Solution

Accepted Solutions
Not applicable
Author

Try this:

=Date(MonthEnd(Date(Date#(TestDate,'YYMM'),'MM-YYYY')),'DD-MM-YYYY')

View solution in original post

2 Replies
Not applicable
Author

Try this:

=Date(MonthEnd(Date(Date#(TestDate,'YYMM'),'MM-YYYY')),'DD-MM-YYYY')

jagannalla
Partner - Specialist III
Partner - Specialist III

Hi,

Try this

Load

Date(MonthEnd(MakeDate(Left(DateField,2),Right(DateField,2))),'DD-MM-YYYY') as Date

from table

Cheers!!

Jagan