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

Help me with converting date format.

I have a date field called Monthrecorded in  myy  format.How can I covert this into mmddyyy format.

Thanks in advance.

1 Solution

Accepted Solutions
dmohanty
Partner - Specialist
Partner - Specialist

Try this:

=Date(Date#(Monthrecorded,'MYY'),'MMDDYYYY')

View solution in original post

7 Replies
Siva_Sankar
Master II
Master II

use

=(monthfieldname,'MM-DD-YYYY')

Regards.

Siva

Not applicable
Author

 

I am getting the syntax error.can you tell me why?

Thanks.

Anonymous
Not applicable
Author

Use the function

date(Monthrecorded ,'MMDDYYY')

jagan
Partner - Champion III
Partner - Champion III

Hi,

Try like this

=date(Date#('114', 'MYY'), 'MMDDYYYY' )

Regards,

Jagan.

Not applicable
Author

Hello,

You can use below expression:

=Date(Date#(Monthrecorded,'MYY'),'MMDDYYYY')

Thanks,

Angad

dmohanty
Partner - Specialist
Partner - Specialist

Try this:

=Date(Date#(Monthrecorded,'MYY'),'MMDDYYYY')

Not applicable
Author

Hi Aptha,

Please send me the sample data will try to give solution. May be your field is having the string data. that is what its showing the syntax error.