Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Date from QVD not exactly the same as Source

Hi,

I created a QVD from Oracle and it has a date field. The Original date showed 7/10/2013 10:20:11 AM.

It saved in QVD as 41465.43068287

So i converted it on the load using Date(CreatedDate,'MM/DD/YYYY HH:MM:SS TT') and showed 7/10/2013 10:07:11 AM

The retrieved date is missing 13 minutes.

Am I doing something wrong?

Thanks for the help

Labels (1)
11 Replies
rbecher
Partner - Master III
Partner - Master III

It is not needed if you format the date fields in the right way before you STORE the QVD.

So, if you have Oracle as source then add a preceding LOAD with Date() or Timestamp() function:

MyTable:

LOAD Date(MyField, ''MM/DD/YYYY hh:mm:ss TT') as MyDate, ... ;

SQL SELECT MyField, ...  FROM Table;

- Ralf

Data & AI Engineer at Orionbelt.ai - a GenAI Semantic Layer Venture, Inventor of Astrato Engine
Not applicable
Author

Got it. Thanks Ralf