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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to capture an Excel creation file date

Can someone tell me how to capture an Excel file's creation date in the load? I am needing this date to create a calculated field called "Current Status" that will compare this date to another date to determine if the record is "Past Due", "Current" or "Future". Thanks for your help.

1 Solution

Accepted Solutions
Not applicable
Author

Martina,

That works great!

Thanks for your help

Marcia

Message was edited by: bowermmc

View solution in original post

3 Replies
brenner_martina
Partner - Specialist II
Partner - Specialist II

Hi,

you can use the function FileTime() in your load statement:

Load field1, ...,

        filetime() As Datecreate

From Excel.xlsx (...);

Greetings from Munich

Martina

Not applicable
Author

Martina,

That works great!

Thanks for your help

Marcia

Message was edited by: bowermmc

Not applicable
Author

Hi Martina,

Can we capture the File Modified time the same way ?

Thanks in advance.

Best

Shyam