On Sat, Dec 06, 2008 at 10:07:46AM -0800, pdcooper.RemoveThis@blueyonder.co.uk wrote:
> im trying to read a palm PDB with palm:Raw
> ive got as far as extractign the records from the database.
> the record comprises of 2 fields of data/time ( start & stop ) and
> one of comments
> the hexdump of a record is
>
> ______________________________________p h o n e c a
> l l
> 95 b1 00 03 02 0d 00 02 03 b1 00 0b 03 c0 ff ff 50 68 6f 6e 65 20
> 43 61 6c 6c
>
> there is a date (1 dec 2008) and a couple of times in there
> from what ive read it could calculate it any of these ways
>
> 1 Dec 2008 = 2008*10000+12*100+1= 20081201 =&1326A31
> or (2008-1900)*10000+12*100+1=1081201 =&107F71
> or (2008-1904)*10000+12*100+1=1041201=&FE331
>
> but i cant see that in the fields
Palm have an entertainingly large number of different ways of storing
date/time fields.
You look like you're using perl. In which case, try my
Palm::TreoPhoneCallDB module.
--
David Cantrell |
http://www.cantrell.org.uk/david
comparative and superlative explained:
<Huhn> worse, worser, worsest, worsted, wasted