Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everybody,
I want to convert the date format from DD/MM/YYYY hh:mm:ss to DD/MM/YYYY.
I know there are many post about this problem but that didn't work.
I'm new in Qlik so maybe it's a stupid error that I do...
This is the script. I need to convert the field DataDocumento as I explained above.
ODBC CONNECT TO [MS Access Database;DBQ=G:\Applicazioni\ARX\ARXivar_r01.accdb];
SQL SELECT DOCNUMBER,
Protocollo,
DataDocumento
FROM `T_zmd_002_Offerte`;
Please help me
Thank you in advance.
ODBC CONNECT TO [MS Access Database;DBQ=G:\Applicazioni\ARX\ARXivar_r01.accdb];
Load
DOCNUMBER,
Protocollo,
Date(Floor(DataDocumento)) as DataDocumento;
SQL SELECT DOCNUMBER,
Protocollo,
DataDocumento
FROM `T_zmd_002_Offerte`;
or replace with below
Load
DOCNUMBER,
Protocollo,
Date(Floor(TimeStamp#(DataDocumento,'DD/MM/YYYY hh:mm:ss')),'DD/MM/YYYY') as DataDocumento;
SQL SELECT DOCNUMBER,
Protocollo,
DataDocumento
FROM `T_zmd_002_Offerte`;
try like this :
Date(Floor(DataDocumento),'DD/MM/YYYY') as DataDocumento;
Try like this -
Date(Date#(DataDocumento,'DD/MM/YYYY hh:mm:ss'),'DD/MM/YYYY')
Hi minamina,
please try this:
date(DataDocumento,'DD/MM/YYYY' as DataDocumento
Best Regards
Mike Preuss
Thx, it works for me !
If you have got the answer please mark the correct and helpful answers