[GAP Forum] command to retrieve current date/time

Stephen Linton sl4 at st-andrews.ac.uk
Sun Nov 25 14:30:52 GMT 2012


There is a function Runtime() which returns the number of milliseconds of CPU time GAP has used since starting, and a related function Runtimes() which gives slightly more detail.

On 32 bit systems both commands may wrap round, giving strange results after a few days. 

	Steve

On 25 Nov 2012, at 11:34, Frederic Vanhove <fvanhove at cage.ugent.be> wrote:

> Hello,
> 
> I was wondering if there is any way to let GAP return the current date 
> or time.
> 
> I know that using
> time;
> one can get the number of milliseconds the last operation took.
> 
> However, I would like to do a long computation, and I would want GAP to 
> print from to time what he has done already and how long that has 
> already taken.
> 
> Is that possible?
> 
> Many thanks,
> Kind regards,
> Frédéric
> 
> _______________________________________________
> Forum mailing list
> Forum at mail.gap-system.org
> http://mail.gap-system.org/mailman/listinfo/forum




More information about the Forum mailing list