CVdate(int([<date/time>])) Not parsing

EXCEL_Guy

Board Regular
Joined
Oct 30, 2002
Messages
61
I have a date/time field that I need to query. But, the autotime stamp creates a field that looks like:: 6/17/2003 4:23:01PM. I need to query for the WHOLE day, but the criteria:: LIKE [<time/Date>] & * isn't working. This seems to be because ACCESS can't parse the time.

So, I researched MS and found CVDate(Int[<time/date>])) as a work around. I set a new field expression:: Expr1: CVDate(Int[<time/date>])) and now the SQL is barfing. It sez I have to many closing parathesis'.

What is Up With THis?... :oops:

HOW do I Parse the TIME off of my simple access select query??

Toad

Ref ::
http://support.microsoft.com/defaul...port/kb/articles/Q149/9/45.asp&NoWebContent=1
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
You do have too many parenthesis.

Change:

Expr1: CVDate(Int[]))

To:

Expr1: CVDate(Int([]))
 
Upvote 0
Thanks, I saw that...

Here's what I got to work, ADD the table to the expr1::
Expr1:CVDate(Int(
.[<time/date>])) and left the TABLE cell empty.


Hope this helps future time/date parsers


Toad
 
Upvote 0

Forum statistics

Threads
1,221,532
Messages
6,160,380
Members
451,643
Latest member
nachohoyu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top