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 (November 2008)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Sat, 29 Nov 2008 15:42:57 -0500
Reply-To:     Richard Ristow <wrristow@mindspring.com>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Richard Ristow <wrristow@mindspring.com>
Subject:      Re: date format
Comments: To: fomcl@yahoo.com
In-Reply-To:  <849018.2892.qm@web32701.mail.mud.yahoo.com>
Content-Type: text/plain; charset="us-ascii"; format=flowed

At 07:02 AM 11/29/2008, Albert-jan Roskam wrote:

>compute date = date.dmy(concat( > number(substr(edvar, 1, 2), n2), > number(substr(edvar, 3, 2), n2), > number(substr(edvar, 5, 4), n2))). >formats date (edate30).

That probably won't work, since it uses numbers (output of 'number' functions) as arguments to 'concat'. If you omit the 'concat' and its associated parentheses, it may well work (I haven't tested).

===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@LISTSERV.UGA.EDU (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


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