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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
samuel_brierley
Creator
Creator

strange timestamp format

hi all,

I'm working with an api that outputs a timestamp in the below formula. does anyone know how I might get the time and date out in the following formats?

current timestamp format: Fri Oct 02 13:01:18 +0000 2015

desired date format: DD/MM/YYYY

desired time format: hh:mm:ss

cheers all

Labels (1)
1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

=Date(Date#(MID('Fri Oct 02 13:01:18 +0000 2015',5,3) &  MID('Fri Oct 02 13:01:18 +0000 2015',9,2) & Right('Fri Oct 02 13:01:18 +0000 2015',4),'MMMDDYYYY'),'DD/MM/YYYY')

=Time(Time#(MID('Fri Oct 02 13:01:18 +0000 2015',12,8),'hh:mm:ss'))

View solution in original post

1 Reply
MK_QSL
MVP
MVP

=Date(Date#(MID('Fri Oct 02 13:01:18 +0000 2015',5,3) &  MID('Fri Oct 02 13:01:18 +0000 2015',9,2) & Right('Fri Oct 02 13:01:18 +0000 2015',4),'MMMDDYYYY'),'DD/MM/YYYY')

=Time(Time#(MID('Fri Oct 02 13:01:18 +0000 2015',12,8),'hh:mm:ss'))