yes, you are right,
=AND(W4>STARTDATE,W4<ENDDATE)
where i defined startdate as 1jan12 and defined enddate as 31dec12
so i put this formula =AND(W4>STARTDATE,W4<ENDDATE) in validation custom,
then it should not allow any date before 1jan12 or les than 31dec12.
but its not working..