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: 
mohanrajsubrama
Contributor II
Contributor II

Problem with the Date field


Hi Team,

I  have a 2 tables with date columns .In one of the table the date column format is MM/DD/YYYY .

In another table the date column is like 20050617.ie(yearmonth and date is combined).

Could you guys help me to resolve this .

i want 20050617 to be like MM/DD/YYYY format.

Thanks in Advance

Mohan

5 Replies
Anonymous
Not applicable

Try using left,right and mid function and concatenate to the format you want.

sushil353
Master II
Master II

Try:

Date(Date#('20050617','YYYYMMDD'),'MM/DD/YYYY')

HTH

Sushil

fvelascog72
Partner - Specialist
Partner - Specialist

Hi,

Try this:

Date(Date#(DATEFIELD,'YYYMMDD'),'MM/DD/YYYY')          as DATEFIELD

Joaquin_Lazaro
Partner - Specialist II
Partner - Specialist II

Hi:

Date(Num(Date1), 'YYYY/MM/DD) as Date1

Date(Num(Date2), 'YYYY/MM/DD) as Date2


Hope this helps you


Joaquín

mohanrajsubrama
Contributor II
Contributor II
Author

Hi Dass,

The same i did and it worked using makedate function.

Thanks,

Mohan