[Python-Dev] Subsecond time stamps

Martin v. Loewis martin@v.loewis.de
10 Sep 2002 08:30:02 +0200


Brian Quinlan <brian@sweetapp.com> writes:

> >    tv_sec + 1e-9 * tv_nsec;
> > 
[...]
> Don't you have to truncate tv_sec for that to work? i.e.
> 
> 	Truncate(tv_sec, 9) + 1e-9 * tv_nsec

What is Truncate, and why would I need it?

Regards,
Martin