I'm trying to use the quad_to_date routine in VMS::Misc.
I want to decode a DEC quadword date read off a file in binary as 8 bytes.
I can verify using the VMS debugger on some C code that the date is valid,
but quad_to_date seems to be giving me garbage.
Does it expect the 8 bytes as a string scalar? as a reference? Or pulling it
out via unpack as some flavour of integer?
An example would be handy.
Ivor.
-----Original Message-----
From: Dan Sugalski [mailto:[EMAIL PROTECTED]]
Sent: 18 May 2000 15:42
To: Mike Marmor; [EMAIL PROTECTED]
Subject: Re: Time conversions
At 09:39 AM 5/18/00 -0400, Mike Marmor wrote:
>Quicky: Is there a library that does conversions between OVMS date/time and
>Perly ones?
D'you mean quadword time to Unix epoch-seconds? I think there's conversion
code in the VMS::Misc module. Check my CPAN directory to see if it's still
there.
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk