Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
dinicholls
Creator II
Creator II

Getting a Date from The CSV File I'm Loading

Hi,

I'm loading five CSV files, and I want to add the date the CSV file was creating to my script.

I've had a nosey through, but can only find 'Time' and not 'Date'.

How can I do this?

Thank you!

Di

1 Solution

Accepted Solutions
rubenmarin

Hi Diane, FileTime() returns date and time in the format specified in TimestampFormat variable (usually set at the beggining of script)

View solution in original post

4 Replies
swuehl
MVP
MVP

You can look into the QV file functions, like FileTime().

Should also give you the date (I believe it's returning a timestamp)...

Anonymous
Not applicable

You could get you csv's last modified date and time using the FileTime() function in your load load script.

rubenmarin

Hi Diane, FileTime() returns date and time in the format specified in TimestampFormat variable (usually set at the beggining of script)

dinicholls
Creator II
Creator II
Author

Hi,

Thank you!

Used:

Floor(filetime()) and set the format to date, and worked a treat!

Thank you everyone!