Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
ShahbazovT
Contributor III
Contributor III

Date Format

Hi Experts,

I have a sql script, on that script I want to change format of my Date.

My date format 2020-02-27 00:00:00.000000

I want to delete zeros. Help pls

Screenshot attached

 

Labels (1)
3 Replies
dplr-rn
Partner - Master III
Partner - Master III

try this

Date(floor(DATE_FIELD), 'YYYY-MM-DD') as Date_Field

Anil_Babu_Samineni

=Date(ConvertToLocalTime('2020-02-27 00:00:00.000000'))

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
ShahbazovT
Contributor III
Contributor III
Author

Thanks🙏