[plt-scheme] Re: Timespans

From: Prabhakar Ragde (plragde at uwaterloo.ca)
Date: Sat Jun 10 12:33:42 EDT 2006

Chris Warrington wrote:

> After looking over SRFI 19: Time Data Types and Procedures, I noticed
> that it was sorely lacking in timespan manipulation functions. For
> example, if I have a time span of, say 45932 seconds, there is no easy
> way to get it in a format like days.hours:minutes:seconds (12:42:32),
> etc. Am I missing something?

You might be able to fake it with Chapter 15 of the MzScheme manual and 
Chapter 14 of the MzLib manual. But I give things like this as 
programming exercises to my first-year class -- surely it won't take you 
that long to write what you need? --PR

Posted on the users mailing list.