Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
chinmei
Contributor
Contributor

Reformatting of a datetime filed

Hi, 

I'm rather new to doing logics in Qlik. Hope someone can help here.

I have a date time field which is in the format of yyyy-mm-dd hh.mm.ss.000000 i.e 2020-11-01 16.30.00.000000. I want to re-format it to mm/dd/yyyy hh:mm:ss, how may I do so? I am using this in data filter. 

Any help is deeply appreciated. Thanks.

Rgds,

Chin Mei

Labels (1)
1 Solution

Accepted Solutions
Digvijay_Singh

Not sure but may be try this, share sample app if its not working - 

timestamp(timestamp#(DateTimeField,'YYYY-MM-DD hh.mm.ss.ffffff'),'YYYY-MM-DD hh.ss.mm')

View solution in original post

2 Replies
Digvijay_Singh

Not sure but may be try this, share sample app if its not working - 

timestamp(timestamp#(DateTimeField,'YYYY-MM-DD hh.mm.ss.ffffff'),'YYYY-MM-DD hh.ss.mm')

chinmei
Contributor
Contributor
Author

Hi Digvijay_Singh, 

Thank you so much, it works! 🙂