Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vb.net datetime

Status
Not open for further replies.

Komil13

Programmer
Sep 26, 2001
50
US
hi,

i would like to search an access database using the date/time field in database. In my app, i am using a datetime variable. My question is how would i use a datetime value from my app to search the access database's date/time field??

 
(At least in my experience) The two data types match up really well... you could use < > = operations, or you could use the DateDiff() function. Once you use the Data Adapter object to retrieve your information, you can compare the VB data type [blue]Date[/blue] to the db's date/time field.

Ben
A programmer was drowning. Lots of people watched but did nothing. They couldn't understand why he yelled &quot;F1!&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top