I was having trouble with this kind of thing, too. Turns out I wasn't
formatting my date correctly in syntax. FWIW:
COMPUTE LYBNTSTRICT=LASTGDT GE date.mdy(6,30,2006) AND LASTGDT LE
date.mdy(7,1,2007).
On Mon, Jun 30, 2008 at 1:04 PM, Weinberg, Jerry <
[hidden email]> wrote:
> Dear Listers,
> I have two date variables of the type dd-mmm-yyyy that represent the
> beginning and ending dates of a given academic semester.. I have written
> the following syntax:
>
> STRING TERM1(A7).
>
> IF (S.DATE.1 GE 01-AUG-2004 AND E.DATE.1 LE 30-DEC-2004) T1='FALL04'.
>
> However, it is apparent that this does not work. Any solutions would be
> gratefully received
>
>
>
>
> Jerry Weinberg, Ph.D
> Director, Office of Institutional Research
> _____________________________
> St. Thomas University
> 16401 NW 37th Avenue
> Miami Gardens, FL 33054
> (305) 474-6886
>
[hidden email]
>
>
>
>
>
>
> To manage your subscription to SPSSX-L, send a message to
>
[hidden email] (not to SPSSX-L), with no body text except the
> command. To leave the list, send the command
> SIGNOFF SPSSX-L
> For a list of commands to manage subscriptions, send the command
> INFO REFCARD
>
=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD