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 2009, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 20 Aug 2009 13:28:04 -0700
Reply-To:   Savian <savian.net@GMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Savian <savian.net@GMAIL.COM>
Organization:   http://groups.google.com
Subject:   Re: Convert Access Datetime to SAS Datetime when Access data type is
Comments:   To: sas-l@uga.edu
Content-Type:   text/plain; charset=ISO-8859-1

On Aug 20, 10:11 am, Louis.Sin...@PERCEPTIVE.COM ("Sinoff, Louis") wrote: > I have Access MDBs coming from a machine that has the Datetime as a > NUMBER. I can go to Access and change it to Date/Time and it Imports > into SAS as a Datetime. My problem is that I have too many and they > keep coming in. Can anyone give me code or formatting that will get SAS > Datetimes from the Access NUMBER? > > =20 > > =20

I am confused on the Number issue. When you says it has numbers, what do they look like? Is this the number of ticks in the datetime/

I just checked and it appears the epochal for Access is Dec 30, 1899 at midnight (bizarre). If you have the ticks then you are going to need to do the conversion between Access's epochal and the SAS epochal...if I understand your question correctly.

Alan

Savian


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