Jump to content

After a date


Guest phantom01

Recommended Posts

Guest phantom01

Hello !I have a litte problem but i find no solution :-(I have a Dates stored in DB like 01.01.2006 and i will get all rows start with today.My Problem:Dates in DB:20.01.200623.01.200623.01.200523.01.2007SQL:

 select * from db where date between now(2) and '01.01.2008';

I will also get 23.01.2005 (today = 23.01.2006)The same with:

 select * from db where date > now(2)

I think it is only a format problem in the SQL syntax but i dont now how.Sorry for my bad english.Please Help thanksPatrick

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...