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 (July 2008)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 17 Jul 2008 10:53:33 -0700
Reply-To:     jimjohn <azam.khan@utoronto.ca>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         jimjohn <azam.khan@utoronto.ca>
Subject:      How to truncate a variable in SPSS?
Content-Type: text/plain; charset=us-ascii

I have a date variable (a string) in the following format: mm/dd/yyyy 0:00:00

I want to get rid of the 0:00:00 at the end of each of my values, because otherwise it doesn't convert to a date format properly. Any suggestions on what function I can use to do this? Thanks so much! -- View this message in context: http://www.nabble.com/How-to-truncate-a-variable-in-SPSS--tp18514252p18514252.html Sent from the SPSSX Discussion mailing list archive at Nabble.com.

===================== 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