Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Join this live chat April 6, 10AM EST - QlikView to Qlik Sense REGISTER
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 (2)
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],

View solution in original post