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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Date Format

hi All ,

I wanted to know how to convert the formate from ,   Apr 1,2014   TO   04-10-2014.

Thanks in Advance

1 Solution

Accepted Solutions
its_anandrjs
Champion III
Champion III

Hi,

Try this way in any text object

=Date(Date#('Apr 1,2014',  'MMM D,YYYY'), 'MM-DD-YYYY')

Load

Date(Date#(DateField,  'MMM D,YYYY'), 'MM-DD-YYYY') as DateFieldNew

From Location;

Regards

Anand

View solution in original post

9 Replies
qlikconsultant
Creator III
Creator III

date(yourdateatribute, 'DD-MM-YYYY' )

jagan
Partner - Champion III
Partner - Champion III

Hi,

Try like this

Date(Date#(FieldName,  'MMM D,YYYY'), 'MM-DD-YYYY')

Hope this helps you.

Regards,

Jagan.

Not applicable
Author

Hi

give

Date(Date#('Apr-10-2014','MMM-DD-YYYY'),'MM-DD-YYYY')

a try

hope that helps

Joe

Not applicable
Author

Date(Date#('Apr-10-2014','MMM-DD-YYYY'),'MM-DD-YYYY')

It work fine, if MonthNames variable contain 'Apr'.

its_anandrjs
Champion III
Champion III

Hi,

Try this way in any text object

=Date(Date#('Apr 1,2014',  'MMM D,YYYY'), 'MM-DD-YYYY')

Load

Date(Date#(DateField,  'MMM D,YYYY'), 'MM-DD-YYYY') as DateFieldNew

From Location;

Regards

Anand

Anonymous
Not applicable
Author

Hi Wrestler,

=Date(ShipDate,'DD-MM-YYYY')

Regards

Neetha

agomes1971
Specialist II
Specialist II

Hi,

=Date(Date#(DataTeste,'MMM-DD-YYYY'),'MM-DD-YYYY')

Regards

André Gomes

maleksafa
Specialist
Specialist

date(date#('Apr 1,2014','MMM D,YYYY'),'DD-MM-YYYY')

Not applicable
Author

Thanks anand

u helped me out