Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Everyone,
How do I get the "Date Created" of a CSV file that I have imported?
I've thoroughly googled the problem and most people just suggest using the FileTime() function to get the date modified field, but I need to get the date created field of my file.
Thank you 🙂
I believe you're right that there is no inbuilt functionality to get the creation date.
Unfortunately though the VBS cannot be implemented in Qlik Sense.
Fortunately, I found out my filetypes will have epoch dates in the headers which I can use.
Try FileTime([ filename ])
Thanks for your response.
As I said in my original post the FileTime function gives the file modification date, where-as I want to get the file creation date.
AFAIK there is no inbuilt functionality to get the creation date of a file. Means you need to use external features like VBS: VBScript - DateCreated Property (vbsedit.com).
In View you could use a macro-function within the script. In Sense I don't know if VBS or others could be implemented in this way. If not you may trigger it as an external batch which stored the information in any txt but AFAIK you will need to enable the legacy-mode for it.
- Marcus
I believe you're right that there is no inbuilt functionality to get the creation date.
Unfortunately though the VBS cannot be implemented in Qlik Sense.
Fortunately, I found out my filetypes will have epoch dates in the headers which I can use.