Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
manideep78
Partner - Specialist
Partner - Specialist

Oracle timestamp in qlikview

Dear Community,

I have timestamp  09-DEC-19 02.03.28.604711000 PM  coming from Oracle into Qlikview and it is a string.

I could not covert that into qlikview timestamp format using Timestamp#. 

Any suggestions welcome.

Labels (2)
1 Reply
Taoufiq_Zarra

if that doesn't work, you can always use the hard methods 😁

=TimeStamp(Time#(left(Right(('09-DEC-19 02.03.28.604711000 PM'),21),8)&' '&Right(Right(('09-DEC-19 02.03.28.604711000 PM'),21),2),'hh.mm.ss TT')+ Date#(left(('09-DEC-19 02.03.28.604711000 PM'),9),'DD-MMM-YY'), 'DD/MM/YYYY hh:mm:ss')

you can get results like :

Capture.PNG

which you can use as a TimeStamp, i.e. you can extract the hour, minutes, ...

 

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉