LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (July 1996)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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: > > hello! > 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 1, 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 Time in SPSS."

-------------------- Jonathan Fry SPSS Inc. jon@spss.com


Back to: Top of message | Previous page | Main SPSSX-L page