Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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