date select
Hello,
I write my date as string in a table ('dd/mm/yyyy').
Now I wont to do a select but it has to do with a where clause on this date.
Can I do this:
sDate = DateAdd("m","-3",date()) select data from last 3 months
"SELECT * FROM tblCV WHERE cv_date <='" & dDate & "'"
I think it works better if I change the date format in:
yyyy/mm/dd since I save this as string in the database.
What I need to do:
- select cv's between a certain date
- select cv's from last 3 months
My date is written as a string in the database.
Please an opinion or solution
Thanks
:: soulcreation.com ::
|