in reply to Wasting time with times
To this end, I would say that there is little wrong with simply logging date and time as seconds since epoch, especially given that there is no high precision required in the time stamps provided. This effectively side-steps this argument altogether allowing for logging without the formatting performance hit and if there is a later need for debugging or log analysis, it is relatively simple to have a log file parser that reformats the log file timestamps into a human readable format.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Wasting time with times
by greenFox (Vicar) on Sep 16, 2002 at 05:06 UTC | |
by rob_au (Abbot) on Sep 16, 2002 at 05:50 UTC | |
by greenFox (Vicar) on Sep 16, 2002 at 08:54 UTC | |
by rob_au (Abbot) on Sep 16, 2002 at 10:34 UTC | |
by theorbtwo (Prior) on Sep 16, 2002 at 05:54 UTC |