Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
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

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'))