From jan@swi.psy.uva.nl  Tue Jul 13 11:57:33 1999
Received: from gollem.swi.psy.uva.nl (jan@gollem.swi.psy.uva.nl [145.18.114.15])
	by swi.swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id LAA08168
	for <prolog@swi.psy.uva.nl>; Tue, 13 Jul 1999 11:57:33 +0200 (MET DST)
Received: (from jan@localhost)
	by gollem.swi.psy.uva.nl (8.8.8/8.8.8) id LAA00643;
	Tue, 13 Jul 1999 11:59:20 +0200
Date: Tue, 13 Jul 1999 11:59:20 +0200
Message-Id: <199907130959.LAA00643@gollem.swi.psy.uva.nl>
From: Jan Wielemaker <jan@swi.psy.uva.nl>
Subject: Re: Time problems
To: "Evagelos Kourakos Mavromichalis" <emav@aegean.gr>
In-Reply-To: Evagelos Kourakos Mavromichalis's message of Tue, 13 Jul 1999 12:11:29 +0300
Phone: +31 - 20 - 525 6121
Cc: prolog@gollem.swi.psy.uva.nl

> Hello,
> when I use the predicates
> 
> get_time(GT),
> convert_time(GT, Y, M, D, H, Min, Sec, Milliseconds)
> 
> the Milliseconds are always equal to zero. Why?
> 
> Thanks, for your help.

Depends on the operating system.  If it provides gettimeofday(), the
resolution is generally better.  If it provides time(), it is seconds
and therefore the last field is always 0.

If you know about an alternative for your OS, just mail me the details.

	Regards --- Jan

