Date: Thu, 15 Sep 2005 10:53:15 -0400
Reply-To: Martin Sherman <MSherman@loyola.edu>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Martin Sherman <MSherman@loyola.edu>
Subject: Re: converting a missing time value into a real time value
Content-Type: text/plain; charset=US-ASCII
Hector: Thanks for the response. I tried using q1=9:00. and got an
error message that the : was creating a problem. I will wait to see if
anyone else responds. thanks again. martin
>>> "Hector Maletta" <email@example.com> 09/15/05 10:49 AM >>>
If you have only one case in that situation, you can issue the command
But you may have other cases with the time missing, and you may not
of them assigned 9 hours. If it is so, you better allocate the new
based on the relevant case's ID:
I have not considered possible further complications arising from the
that your variable is a date variable (in hours). The simple statement
q=9:00 may not work, but I don't have time to go into that now.
> -----Original Message-----
> From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU]
> On Behalf Of Martin Sherman
> Sent: Thursday, September 15, 2005 11:43 AM
> To: SPSSX-L@LISTSERV.UGA.EDU
> Subject: converting a missing time value into a real time value
> Dear list, I have a time variable (HH.MM.SS) where a subject
> has it missing (just a dot in the data field). I want to
> change it to 9:00.
> I have tried the following but it doesn't work.
> if q1 eq 52724937 @55time_ eq 9:00.
> and I have tried the following and it doesnot work.
> Is there a way I should be represented 9:00. Advice appreciated.
> if q1 eq 52724937 @55btime_ eq 9.
> martin sherman
> __________ Informacisn de NOD32 1.1217 (20050914) __________
> Este mensaje ha sido analizado con NOD32 Antivirus System