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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
haymarketpaul
Creator III
Creator III

Changing Date Format

QV12 SR4

I've got some dates in this format:-

Fri Feb 08 2019 14:37:53 GMT+0000 (UTC)

I need just the date portion in this format:-

DD/MM/YYYY

Thought i might be able to do this sort of thing but they all end up blank for some reason?

Date(Date#(SubField(Mid(MyRegDate,4,Len(MyRegDate)),' G',1),'MMM DD YYYY hh:mm:ss'),'DD/MM/YYYY') as [Reg Date],

Any ideas

Labels (1)
1 Solution

Accepted Solutions
haymarketpaul
Creator III
Creator III
Author

 

Just had the wrong number in the Mid statement...

 

Date(Date#(SubField(Mid(MyRegDate,5,Len(MyRegDate)),' G',1),'MMM DD YYYY hh:mm:ss'),'DD/MM/YYYY') as [Reg Date],

View solution in original post

1 Reply
haymarketpaul
Creator III
Creator III
Author

 

Just had the wrong number in the Mid statement...

 

Date(Date#(SubField(Mid(MyRegDate,5,Len(MyRegDate)),' G',1),'MMM DD YYYY hh:mm:ss'),'DD/MM/YYYY') as [Reg Date],