[43672] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

Unix Timestamp

daemon@ATHENA.MIT.EDU (Brandon Handeland)
Mon Oct 22 15:30:18 2001

Message-Id: <5.1.0.14.2.20011022123839.05490760@calamity.wyoming.com>
Date: Mon, 22 Oct 2001 12:38:43 -0600
To: nanog@merit.edu
From: Brandon Handeland <Brandon@wyoming.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Errors-To: owner-nanog-outgoing@merit.edu


Does anyone have a formula to convert a unix time stamp into the current time?

I know it is January 1st, 1970, in UTC format.  Just need some example code.

I'm trying to export some data from a HP/UX box into a MSSQL database and 
need to use the timestamp feature of MSSQL.

Thanks

----------------------------------------------------------------------
Brandon Handeland             Brandon@wyoming.com
Senior Network Engineer
wyoming.com NOC       (307) 857-1092
----------------------------------------------------------------------


home help back first fref pref prev next nref lref last post