Unix time representation

Dave Barratt dave____thedrums.freeserve.co.uk
Wed Apr 23 14:27:08 CEST 2003


Hi Frank,
Thanks, but this isn't defined for a windoze platform (my OS).  All I'm
looking to do is display a time_t long nicely - is the only way by using
OCTET STRING & using a standard ctime format?  I could have a column in my
table for time as long & have another col for OCTET STRING representation of
the time to do this, but it seems wasteful of table space.  Any ideas?
Dave

----- Original Message -----
From: <Frank.Fock____t-online.de>
To: "Dave Barratt" <dbarratt____codimatech.com>
Cc: <agentpp-dl____agentpp.com>
Sent: Wednesday, April 23, 2003 12:08 PM
Subject: Re: Unix time representation


> Hi Dave,
>
> It's the DateAndTime TC. It is implemented in
> snmp_textuial_conventions.cpp of AGENT++ and
> defined in
> http://www.mibexplorer.com/export/ietf/SNMPv2-TC.pdf
>
> Best regards,
> Frank
>
>
> Dave Barratt schrieb:
> > Hi,
> > A quick Mib question - is there a Textual convention or
> > the like for representing Unix time i.e. the time in
> > seconds since January 1, 1970 UTC?
> >
> > Dave Barratt
> > Developer
> > Codima Technologies - redefining the art of network
> > management
> > E-mail:  dbarratt at codimatech.com
> >
>
>





More information about the AGENTPP mailing list