[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: more on SAS data files
From: |
Ben Pfaff |
Subject: |
Re: more on SAS data files |
Date: |
Sat, 31 May 2008 12:21:54 -0700 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Ben Pfaff <address@hidden> writes:
> Offset 0xa4 almost certainly contains the date and time at which
> the file was created, because sorting the files by the bytes in
> the 8 bytes starting there causes them to be put into a
> reasonable order of creation. I'd assume that it was written as
> an IEEE 8-byte float in seconds since Jan 1, 1960, since that's
> the format that SAS uses internally anyhow, but by my
> calculations that would mean that your sample files were created
> sometime around March 21, 2007, which I assume is over a year
> off, so something is fishy here.
Never mind. On a second look, I think it must be spot on,
because that's the same date saved in the zip file for those
files:
address@hidden:~/tmp(0)$ zipinfo sas-files.zip |head -5
Archive: sas-files.zip 707074 bytes 846 files
-rw-a-- 2.0 fat 57925 t- defN 21-Mar-07 10:49 sas-data-generator.sas
-rw-a-- 2.0 fat 264416 t- defN 21-Mar-07 10:51 logfile.log
-rw-a-- 2.0 fat 5120 b- defN 21-Mar-07 10:50
n_cases_1_float_0.sas7bdat
-rw-a-- 2.0 fat 5120 b- defN 21-Mar-07 10:50
n_cases_1_float_0_float_0.sas7bdat
address@hidden:~/tmp(0)$
--
Ben Pfaff
http://benpfaff.org