Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Date conversion w/ timezone

How do I convert this timestamp into a QV Date ?

Fri, 1 Feb 2013 00:06:38 -0500

Tried the below - Created is the input field withe the time in the above format, but not sure what are the string would be for the '-0500'.

Date(Date#(Created, 'WWW, DD MMM YYYY hh:mm:ss'),'DD/MM/YYYY') As Dt

Thanks

MJ

2 Replies
Anonymous
Not applicable
Author

     = Date(Date#( mid(  'Fri, 1 Feb 2013 00:06:38 -0500' , 6 , 11  )  , 'D MMM YYYY'),'DD/MM/YYYY')

or using your field name

     = Date(Date#( mid( [Created] , 6 , 11  )  , 'D MMM YYYY'),'DD/MM/YYYY')

Not applicable
Author

Thanks