LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (September 2004)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 2 Sep 2004 14:42:40 -0500
Reply-To:     "Peck, Jon" <peck@spss.com>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         "Peck, Jon" <peck@spss.com>
Subject:      Working with Dates in SPSS
Comments: To: Richard Ristow <wrristow@mindspring.com>
Content-Type: text/plain; charset="us-ascii"

SPSS 13 includes a Date/Time wizard to help with problems like this. It help you construct dates and times from parts, to extract selected parts, to calculate with dates and time, and to convert date strings to SPSS date variables.

There are also some new functions to make date arithmetic easier.

Regards, Jon Peck SPSS

-----Original Message----- From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU] On Behalf Of Richard Ristow Sent: Thursday, September 02, 2004 2:35 PM To: SPSSX-L@LISTSERV.UGA.EDU Subject: Re: [SPSSX-L] Date again

At 02:06 PM 9/2/2004, Mahbub Khandoker wrote:

>I would like to convert the string date to normal date format. >The dates (string) are now as follows, >2004 Jan,11 >2003 Oct,18 >2004 Jun,10 >2003 Aug,15 >2004 May,03

Many date input problems in SPSS require some string manipulation and the NUMBER function. Fortunately, that's usually all they take. Here's one solution for this format. Tested code; this is SPSS draft output:


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