To really know what's your app is running in SQL you should trace your server with profiler or with sp_trace* stored procedures. Anyway, maybe you want find out how is your app is getting the time of the file because it can be capturing the time with the code in wich your app is written and then passes that value to SQL in a select clause.