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 (August 2008, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 15 Aug 2008 06:15:15 -0700
Reply-To:     Patrick <patrick.matter@GMX.CH>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Patrick <patrick.matter@GMX.CH>
Organization: http://groups.google.com
Subject:      Re: The syntax of the string representation of a datetime value is
Comments: To: sas-l@uga.edu
Content-Type: text/plain; charset=ISO-8859-1

Ooops! I forgot the last minute. Better use: where mc.START_DT >= TIMESTAMP ('2005-01-01 00:00:00') and mc.END_DT < TIMESTAMP ('2008-01-01 00:00:00')

or: where mc.START_DT >= TIMESTAMP ('2005-01-01 00:00:00') and mc.END_DT <= TIMESTAMP ('2007-12-31 23:59:59')

I actually thinkt that 24 doesn't exist (and would result in an error). I prefer the first variant because there you're sure that you will get the last millisecond whatever the precision is.

Patrick


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