Mike Charney wrote:
How can I read just the date portion of the file date time stamp.
Mike
"Mike Charney" <no*****@everything.net> wrote in message
news:WP******************@newssvr25.news.prodigy.n et...
"salad" <oi*@vinegar.com> wrote in message
news:nr***********@newsread4.news.pas.earthlink. net...
Mike Charney wrote:
Is there a way to check a files date and time stamp from VBA in access.
I have a need check a date stamp on a file that I am importing.
Thanks in advance,
Mike
m charney at dunlap hospital dot org
Check out filedatetime function in help.
Thanks that is what I was looking for.
Mike
Remember, using Format will create a string. It's best to stuff a table
field with the date and use Format for the display. Also, if you use a
Now() type value with date/time and you query on date ranges, you need
to add an extra day to the range. For example, Between #1/1/2006# And
#1/1/2006# will return only records on 1/1/2006 with a time of 00:00:00.
You would want Between #1/1/2006# And #1/2/2006# to get records with
any other time but 00:00:00.