Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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🙏