Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Date in test format.

Hai all,

I have converted .XML file into .XLSX and uploaded. Then date has picked as test format. Can I change it in QVD.

5 Replies
ashfaq_haseeb
Champion III
Champion III

Yes you can convert textual date to dates.

can you attach few lines of sample data?

Regards

ASHFAQ

its_anandrjs

Provide any sample data and with the help of Date#() and Date() function you can achieve this.

maxgro
MVP
MVP

when you read from xlsx

use an interpretation function     Date#(string, format) to convert from string to number

date#( A, 'YYYY.MM.DD' )

where A=1997.08.06 returns 35648

Not applicable
Author

27-FEB-2014
28-FEB-2014
28-FEB-2014
07-MAR-2014
28-FEB-2014
28-FEB-2014
28-FEB-2014
28-FEB-2014

above records has to convert into date format because I need date calculation. as per above its uploading as test .

Thanks,

Dhanushka.

ashfaq_haseeb
Champion III
Champion III

Hi,,

Try below and let me know if that worked,

Load *, Date(Date#(Date,'DD-MMM-YYYY'),'DD/MM/YYYY') as NewDate;

load * Inline

[

Date

27-FEB-2014

28-FEB-2014

28-FEB-2014

07-MAR-2014

28-FEB-2014

28-FEB-2014

28-FEB-2014

28-FEB-2014

];

Regards

ASHFAQ