2
Answers

Compare File Time Only, no Date

Andrew L

Andrew L

14y
1.8k
1
Hello Everyone
I am working on a file copy app. I have everything working correctly, but I have a small snag. I cannot have the end user always providing the current date. The files that I want to copy are created daily. I want to write the code that will use the current date, and use the time variables that I supply to compare with the file creation time.

So my question is: How can I compare the file time only with a variable?

Thank you in advance
Andrew SQLDBA
Answers (2)