Hi

to read dates in the form ddmmyyyy (ie with no separator),

I tried

date = number(value, SDATE8)

but this triggers

warning: (SDATE field) Delimiter expected between fields
        in date.

is it possible to read dates with date formats in the nodelimiter case ?


otherwise is there a better way than this :

date =
DATE.DMY( NUMBER( SUBSTR(value,1,2), F2.0), Number( SUBSTR(value,3,2), F2.0),
NUMBER( SUBSTR(value,5,4), F4.0) ).


Best,

PB



_______________________________________________
Pspp-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-users

Reply via email to