nanog mailing list archives
Re: Unix Timestamp
From: rs () seastrom com (Robert E. Seastrom)
Date: 22 Oct 2001 14:57:34 -0400
Brandon Handeland <Brandon () wyoming com> writes:
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.
The best code I've seen for this (and which knows about most variants of the timestamp seen in the wild) was written by Steve Bellovin et al, and can be found in the inn distribution in lib/parsedate.y ---Rob
Current thread:
- Re: Unix Timestamp, (continued)
- Re: Unix Timestamp Pat Myrto (Oct 22)
- Re: Unix Timestamp Barry Shein (Oct 22)
- Re: Unix Timestamp Greg A. Woods (Oct 22)
- Re: Unix Timestamp Chrisy Luke (Oct 22)
- Re: Unix Timestamp Chris Adams (Oct 22)
- Re: Unix Timestamp Greg A. Woods (Oct 22)
- Re: Unix Timestamp Michael L. Barrow (Oct 22)
- Re: Unix Timestamp Henry Yen (Oct 22)
- Re: Unix Timestamp Owen DeLong (Oct 23)
- Re: Unix Timestamp Pat Myrto (Oct 22)
- Re: Unix Timestamp Nathan Stratton (Oct 22)
- Re: Unix Timestamp Michael L. Barrow (Oct 22)