pspp-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Datetime format


From: Przemyslaw Dul
Subject: Datetime format
Date: Tue, 21 Mar 2006 15:46:15 +0100

Hi,

I parse spss files (.sav) with java. Unfortunately I get for date-time values only doubles (as byte-array). Do you know how I can transform this doubles (or the byte array) to a (java) date / timestamp? First I thought the double value represents the millis since 01.01.1970, but the value is too small.

(For the date-time: 22-Jan-2005 10:02, I got the double 13325767320 as bytes [0,0,-64,-108,56,-46,8,66])

So how I can transform the byte array [0,0,-64,-108,56,-46,8,66] to something like a date-time?

 

Thank you very much!

 

Przemyslaw

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]