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: 
rupaliqlik
Creator
Creator

Convert Date Format

Hi Experts,

I want to change format of my Date.It is now in Num format,but I wants to change it into DD/MM/YYYY. How do I get.

5 Replies
oknotsen
Master III
Master III

Use the date() function (not to be mistaken by the date#() function).

Date ‒ QlikView

May you live in interesting times!
arulsettu
Master III
Master III

you can try this

date(datefield,'DD/MM/YYYY')

or

date(date#(datefield,'current format'),'DD/MM/YYYY')

Chanty4u
MVP
MVP

try below

Format:

LOAD * INLINE [

    dateformat

    20160705

];

Result:

LOAD *,

Date(Date#(dateformat,'YYYYMMDD'),'MM-DD-YYYY') AS Newdate

Resident Format;

Anonymous
Not applicable

Hi Rupali,

If you want to change all dateformats and timestamp formats on your app, change this variables on script:

SET DateFormat='DD/MM/YYYY';

SET TimestampFormat='DD/MM/YYYY h:mm:ss[.fff]';

If you enter the date as a number, you will see ever a number, then, when on script get the field use this expression:

Date(YourField) as YourField

Regards!!

AnusuyaRajavel
Partner - Contributor
Partner - Contributor

try below:

you can use date function : load Date(fieldname) from filename;