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

Announcements
Solving the Informatica Dilemma: On-Demand Briefing - Watch On Demand!
cancel
Showing results for 
Search instead for 
Did you mean: 
bell_byloli
Contributor III
Contributor III

how to convert date format (20-Oct-2012) into mm/dd/yyyy format ?

hello,

how to convert a field containing date format (20-Oct-2012) into MM/DD/YYYY format ?

Regards

1 Solution

Accepted Solutions
PrashantSangle

Hi,

Try this,

Date(Date#(fieldname,'DD-MMM-YYYY'),'MM/DD/YYYY')

Regards,

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

View solution in original post

7 Replies
PrashantSangle

Hi,

Try this,

Date(Date#(fieldname,'DD-MMM-YYYY'),'MM/DD/YYYY')

Regards,

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
senpradip007
Specialist III
Specialist III

try thid

Date(Date#('20-Oct-2012', 'DD-MMM-YYYY'), 'mm/dd/yyyy')

MK_QSL
MVP
MVP

=Date(Date#('20-OCT-2012','DD-MMM-YYYY'),'MM/DD/YYYY')

or

=Date(Date#([Your Date Field],'DD-MMM-YYYY'),'MM/DD/YYYY')

Not applicable

Hi,

Try this

 

=

Date(Date#('20-oct-2011','DD-MMM-YYYY'),'MM/DD/YYYY')

Regards

Kumar

its_anandrjs
Champion III
Champion III

Hi,

First you had to convert this date into number Date#('20-Oct-2012','DD-MMM-YYYY') and current date format then

convert it into your any date format like

Date(Date#('20-Oct-2012','DD-MMM-YYYY'),'MM/DD/YYYY')

Thanks & Regards

CELAMBARASAN
Partner - Champion
Partner - Champion

Just to make sure, it that field already is in date then, simply use

Date(fieldname, 'MM/DD/YYYY')

Since it is already a date, not need date format conversion here.

Not applicable

If you check the field date propriety, you can change the format number!

Look the attached!