date variable

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

date variable

Arthur Kramer
For anyone else who may be interested, I received several replies to my
request and the one that worked best was:



SELECT IF datevar > date.mdy(3,1,2006).



Thanks to all who replied.



Arthur Kramer
Reply | Threaded
Open this post in threaded view
|

Re: date variable

Carlos Renato-2
 Dear Friend

    Uses this procedure for solve your problem:


COMPUTE RANGE_DATES =
RANGE(YOUR_DATA_VARIABLE,DATE.DMY(30,06,2006),DATE.DMY(30,06,2006))
.

And uses the new variable RANGE_DATES for select the range of dates using
the same with a filter variable.

FILTER OFF.

USE ALL.

SELECT IF(RANGE_DATES=1).

EXECUTE .

Carlos Renato - Statistician - Recife PE - Brazil - +55 81 35811246.


2006/8/24, Arthur Kramer <[hidden email]>:

>
> For anyone else who may be interested, I received several replies to my
> request and the one that worked best was:
>
>
>
> SELECT IF datevar > date.mdy(3,1,2006).
>
>
>
> Thanks to all who replied.
>
>
>
> Arthur Kramer
>



--
Carlos Renato
[hidden email]