Andrew L

Andrew L

  • NA
  • 1
  • 2.1k

Compare File Time Only, no Date

Aug 24 2010 4:56 PM
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)