it9888 Posted February 2, 2006 Share Posted February 2, 2006 I'm building a website in which I have to do the follwing:A user gives a time and I have to check if this time is between 23:00(late at night) and 06:30(morning).How can I do that? I'm stuck here, please help!!! Has anybody come accross this? Link to comment Share on other sites More sharing options...
aspnetguy Posted February 2, 2006 Share Posted February 2, 2006 here's an article on comparing timehttp://www.freevbcode.com/ShowCode.Asp?ID=1350 Link to comment Share on other sites More sharing options...
it9888 Posted February 2, 2006 Author Share Posted February 2, 2006 Thanks aspnetguy, I'll have a look at it. Link to comment Share on other sites More sharing options...
netcracker Posted February 7, 2006 Share Posted February 7, 2006 it should be like this: select * from table where date between #" date1 "# and #" date2 "#,conn Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now