Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

how to get time from date

Hi ..

i have date like 01/07/2014 07:05:44.0000 i have to display only time of for date..

please help me...

Regards,

chandini.g

11 Replies
alexandros17
Partner - Champion III
Partner - Champion III

Use the function Time() so:

Time( 01/07/2014 07:05:44.0000) returns 07:05:44

maxgro
MVP
MVP

= time(frac(date#('01/07/2014 07:05:44.0000', 'DD/MM/YYYY hh:mm:ss.ffff')))

peterwh
Creator II
Creator II

Hello,

can you use the time-function?

Kind regards

Peter

perumal_41
Partner - Specialist II
Partner - Specialist II

HI

tIme(time#( 01/07/2014 07:05:44.0000,'hh:mm:ss.ffff'))),'hh:mm:ss.ffff')

Anonymous
Not applicable
Author

Hi..

I used = time(frac(date#('STARTDATETIME', ' hh:mm:ss.ffff'))) but its not working please help me...

sivarajs
Specialist II
Specialist II

subfield(date,' ',2)

anbu1984
Master III
Master III

You dont need to add quotes around field names

= time(frac(date#(STARTDATETIME, 'DD/MM/YYYY hh:mm:ss.ffff')))

Anonymous
Not applicable
Author

Hi..

   Thax for your replay i got it..

Regards,

Chandini.G

anbu1984
Master III
Master III

Attachment is missing