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: 
Anonymous
Not applicable

FileTime help

I am pulling in data from an Excel file on a Sharpoint.

In QV I am doing an incremental load as the Excel file will have that days data and I need to build history.

I need to capture a time (during the load) when the file is put on the SharePoint so I can configure a Traffic Light Gauge based on the time the file is loaded to the SharePoint.

<12:00= Green

>12:01 & <2:00 = yellow

>2:01 = Red

I have tried FileTime, but it updates the entire FileTime column to the current Load Time.

Is there a way for it to retain the FileTime if there is data already in that field and only update the FileTime if the FileTime field is blank for that record?

Dan

Here is an example of what I need:

   

DATEDIFFERENCEFileTime
4/4/15$0.004/4/2015 14:05New FileTime
4/4/15$0.004/4/2015 14:05
4/4/15$0.004/4/2015 14:05
4/4/15$0.004/4/2015 14:05
4/4/15$5,954,275.154/4/2015 14:05
4/4/15$4,954,275.154/4/2015 14:05
4/3/15$6,954,275.154/3/2015 18:00retain old filetime
4/3/15$0.004/3/2015 18:00
4/3/15$0.004/3/2015 18:00
4/3/15$0.004/3/2015 18:00
4/3/15$0.004/3/2015 18:00
4/2/15$0.004/2/2015 13:00
4/2/15$0.004/2/2015 13:00
4/2/15$0.004/2/2015 13:00
4/2/15$0.004/2/2015 13:00
4/2/15$0.004/2/2015 13:00
4/1/15$1.004/2/2015 12:00
4/1/15$2.004/2/2015 12:00
4/1/15$3.004/2/2015 12:00
4/1/15$4.004/2/2015 12:00
4/1/15$5.004/2/2015 12:00
4/1/15$6.004/2/2015 12:00
3 Replies
Anonymous
Not applicable
Author

Issue figured out

koresaket
Contributor II
Contributor II

Hey Dan,

Even I need to retrieve the file update timestamp from an excel placed on a SharePoint. FileTime() is not working for me. How did you achieve this?

Thanks,

Saket.

Anonymous
Not applicable
Author

Saket,

I was not able to pull the timestamp from the Sharepoint based on when the Excel is placed on the SP.  What I ended up doing it making a timestamp field within the Excel and used that as my my Timestamp.