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: 
Purushothaman
Partner - Creator III
Partner - Creator III

Change date format to M/DD/YYYY

Hi Experts,

How to convert the below Data and Time stamp into M/DD/YYYY. 

Screenshot 2022-11-30 112727.png

 

Please help. Thank you

2 Solutions

Accepted Solutions
vinieme12
Champion III
Champion III

as below

date(floor(timestamp#(ACCOUNTOPENDATE,'YYYY-MM-DD hh:mm:ss[.fff]')),'M/DD/YYYY') as Datefield

 

 

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.

View solution in original post

Purushothaman
Partner - Creator III
Partner - Creator III
Author

Another Solution will be:
If the field  type is Timestamp, then as below:

Date(Floor(ACCOUNTOPENDATE)) as ACCOUNTOPENDATE

 

View solution in original post

2 Replies
vinieme12
Champion III
Champion III

as below

date(floor(timestamp#(ACCOUNTOPENDATE,'YYYY-MM-DD hh:mm:ss[.fff]')),'M/DD/YYYY') as Datefield

 

 

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
Purushothaman
Partner - Creator III
Partner - Creator III
Author

Another Solution will be:
If the field  type is Timestamp, then as below:

Date(Floor(ACCOUNTOPENDATE)) as ACCOUNTOPENDATE