Discussion Board for collaboration related to QlikView App Development.
.
Hi,
check alt() in help menu. It will help you to deal with different types of date format in one column.
Syntax:
alt( date#( dat , 'YYYY/MM/DD' ),
date#( dat , 'MM/DD/YYYY' ),
date#( dat , 'MM/DD/YY' ),
'No valid date' )
Modify format as per your format.
Regards,
Prashant
What was the issue here
And title you mentioned may be try this?
Date(Date#(Date1, 'MM/DD/YYYY hh:mm:ss TT'),'DD-MM-YYYY') as Date1,
Date(Date#(Date1, 'MM/DD/YYYY hh:mm:ss'),'DD-MM-YYYY') as Date2
like below
LOAD if(findoneof(Temp,'/')>0,Timestamp(Timestamp#(Temp,'M/DD/YYYY h:mm:ss TT')),Timestamp(Timestamp#(Temp,'mm-dd-yyyy hh:mm:ss'))) as StandardTimestamp Inline [
Temp
2/27/2017 12:39:36 PM
03-06-2017 13:16:24
];
.
.
.
Hi,
check alt() in help menu. It will help you to deal with different types of date format in one column.
Syntax:
alt( date#( dat , 'YYYY/MM/DD' ),
date#( dat , 'MM/DD/YYYY' ),
date#( dat , 'MM/DD/YY' ),
'No valid date' )
Modify format as per your format.
Regards,
Prashant
.
You can check now, We've control of AM and PM at the same time
Hello,
if(len(trim("Last Logon Time Stamp")) <> '0',
if(isnull(date(floor(trim("Last Logon Time Stamp")))),date(date#("Last Logon Time Stamp",'M/DD/YYYY h:mm:ss TT'),'MM/DD/YYYY'),
date(floor(trim("Last Logon Time Stamp")),'MM/DD/YYYY'))) as date,