[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug with function _tm_addup from mktime-
From: |
D Bantekas |
Subject: |
bug with function _tm_addup from mktime- |
Date: |
Fri, 8 Jun 2001 07:58:12 -0700 (PDT) |
I use _tm_addup() provided in mktime to get the
timestamp in utc time. As using gawk functions is
considerably more efficient (and elegant) than using a
pipe to the "date"
command --> there is interest in _tm_addup() working
properly.
The first line of the data file produces a wrong
result. Time computations for the other input lines
work fine.
A quick "throw-away" program to double check produced
the correct results (as verified with "date").
Please let me know if you have a work-around or
bug-fix.
Dias Badekas
email: address@hidden
Datafile is attached as tmpfdata
Awk file is attached as dgatesawk.tmp
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
tmpfdata
Description: tmpfdata
dgatesawk.tmp
Description: dgatesawk.tmp
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug with function _tm_addup from mktime-,
D Bantekas <=