ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] getting the time

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 21 Jan 2010 14:23:56 -0800
On Jan 21, 2010, at 2:00 PM, philippe alarcon wrote:

> You are right.
> Your solution is  more appropriate in this case.

Ideally, there would be a way to somehow control the precision reported for FT_ABSOLUTE_TIME and FT_RELATIVE_TIME values, so that something doesn't get shown with more decimal places than it deserves (a time stamp with one-second resolution should show no fractional part, a time stamp with millisecond resolution should show no more than 3 digits of a fractional part, etc.).