Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
smilingjohn
Specialist
Specialist

date

Hi All,

I have field called date and the format is shown in the below screenshot.

date.PNG

if you look at the date for 16-Oct it is repeated three times because of the different time seconds ..

I am trying to get only unique date as 16- October by writing the below script .

  Date#(Date(date,'MM/DD/YYYY:hh:mm:ss'),'MM-dd-yyyy') as date

but still i am getting the same thing ..how can i make it one date ....

Thanks in advance

1 Solution

Accepted Solutions
smilingjohn
Specialist
Specialist
Author

This is simple

i got it ..i need to write it like this

date#(date(date ),'DD.MM.YYYY') as date ,

View solution in original post

3 Replies
smilingjohn
Specialist
Specialist
Author

This is simple

i got it ..i need to write it like this

date#(date(date ),'DD.MM.YYYY') as date ,

Anil_Babu_Samineni

Try this?


Date(Date#(date,'MM/DD/YYYY:hh:mm:ss'),'DD-MMM')


Or

Date(Floor(Date#(date,'MM/DD/YYYY:hh:mm:ss')),'DD-MM-YYYY')


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
arvind_patil
Partner - Specialist III
Partner - Specialist III

Hi John,

Try Below :

  Date(Floor(date Field))  as Date


Thanks,

Arvind Patil