Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Problem to load Date from Excel!

Hi,

The date on excel is a numeric value.

40452 is 2010-10-01 (YYYY-MM-DD)

While loading the 40452 from the Excel file, how can I load it as a date type value?

Best Regards,

Cassiano

12 Replies
Not applicable
Author

Hello

Same problem, Try this:

DATE(LEFT(FLOOR(NUM(purgechar(tempData,'[.]'))),5)) as date,

Luck!

Not applicable
Author

Use this sentence on a sript:

Date(Num(Evaluate(tempData) )) as newDate