Date: Mon, 15 Jul 1996 10:04:03 -0500
Reply-To: Jonathan Fry <jon@SPSS.COM>
Sender: "SPSSX(r) Discussion" <SPSSX-L@UGA.CC.UGA.EDU>
From: Jonathan Fry <jon@SPSS.COM>
Organization: SPSS Inc.
Subject: Re: get day of week from date-variable
Wolfgang Heyne wrote:
> is there anyone out there, who can tell me how to get the day of week
> (like 1 to 7) from the spss date variable, or is that impossible?
> would help me a lot, thanks
The function XDATE.WKDAY(date) returns an integer between 1 and 7. Sunday is
Saturday is 7. The WKDAY format will print the name of the day of the week.
The _SPSS Base System Reference Guide_ has a whole chapter titled "Data and