[tkined] Converting Time Types

Sean Watkins (sean@northrock.bm)
Wed, 20 Jan 1999 11:25:01 -0400

Anyone have any code to easily cast Time Tick types?

Ie, I'm looking at a frame circuit... at the

LastTimeChanged and CreationTime for a PVC

According to the mib:

CreationTime - The value of sysUpTime when the virtual cir-
cuit was created
LastTimeChaned - The value of sysUpTime when last there was a
change

So, I can get the "sysUpTime" without any problems... but it is always returned
as Time Tick variable... is there any way to cast these to return Counter
instead? Then I could subtract the above from sysUptime, then using time()
figure out an appoximate time/date when the event happened?

Thanks,
Sean Watkins

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.