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 (March 2012, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 1 Mar 2012 20:29:32 +0000
Reply-To:   "Schmid, Dennis (CDC/OSELS/SEPDPO) (CTR)" <wfu4@CDC.GOV>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "Schmid, Dennis (CDC/OSELS/SEPDPO) (CTR)" <wfu4@CDC.GOV>
Subject:   Re: Date Format Help
Comments:   To: Ricardo Gonçalves da Silva <ricardo.gsilva@BANCOVOTORANTIM.COM.BR>
In-Reply-To:   <394C3BF85796564190B6A58EC5A8F9B238C9E47614@MOR-EXMBPRD01.bvnet.bv>
Content-Type:   text/plain; charset="iso-8859-1"

I haven't played with Date/Time data recently but my first thought is to take a look at the Datepart(x) function where x is a DateTime variable.

-----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Ricardo Gonçalves da Silva Sent: Thursday, March 01, 2012 3:18 PM To: SAS-L@LISTSERV.UGA.EDU Subject: Date Format Help

Hi,

In my dataset the DATE variable is in DATETIME20 format:

20FEB2010:00:00:00

I want to exclude all the lines where DATE is GE (>=) 31MAY2009. How can I do this with this format?

Thanks

Rick

Esta mensagem e seus anexos podem conter informações confidenciais ou privilegiadas. Se você não é o destinatário, não está autorizado a utilizar o material para qualquer fim. Solicitamos que você apague a mensagem e avise imediatamente o remetente. O conteúdo desta mensagem e seus anexos não representam necessariamente a opinião e a intenção da empresa, não implicando em qualquer obrigação ou responsabilidade por parte desta.

This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. The contents of this message and its attachments do not necessarily express the opinion or the intention of the company, and do not imply any legal obligation or responsibilities from this company.


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