Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Date with time

Hi All,

Need to know =Date(Time(12/01/2017 4PM),'DD/MM/YYYY hTT');

i got wrong answer.

Please tell me the 4pm result must be show.

Thanks

11 Replies
Anil_Babu_Samineni

I am not sure, What are you expecting over here, May be this?

=Date(Date#('12/01/2017 4PM', 'DD/MM/YYYY hTT'),'DD/MM/YYYY htt')

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
Anonymous
Not applicable
Author

its correct.

Anonymous
Not applicable
Author

I want separate date and separate time.

Can you explain with expression ?

Anil_Babu_Samineni

Please close this thread by flag correct answer

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
Anil_Babu_Samineni

Date

=Date(Date#('12/01/2017 4PM', 'DD/MM/YYYY hTT'),'DD/MM/YYYY')

Time

=Date(Date#('12/01/2017 4PM', 'DD/MM/YYYY hTT'),'htt')

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
Anonymous
Not applicable
Author

How to close the flag ?

Anil_Babu_Samineni

Qlik Community Tip: Marking Replies as Correct or Helpful

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
prma7799
Master III
Master III

It means mark correct or helpful answer if you get answer ...

Anonymous
Not applicable
Author

Then what is use of timestamp.

Please explain.

with example simple.