Theiling Online    Sitemap    Conlang Mailing List HQ   

Re: Programming a calendar system

From:Carsten Becker <post@...>
Date:Wednesday, April 28, 2004, 16:38
On Wed, 28 Apr 2004 10:28:22 -0400, Mark J. Reed <markjreed@...> wrote:

>For instance, if I told you that 3,296 seconds had passed and asked you >what that was in minutes and seconds, then you would divide by 60; >the quotient is the number of minutes and the remainder is the number of >seconds into the next minute. > > 3296 / 60 = 54 > 3296 % 60 = 56 > >so 3,296 seconds is 54 minutes and 56 seconds, or 4 seconds shy of >55 minutes.
Thanks. Of course, this was a very stupid question ... I haven't thought that far, the variables mixed me up. Or 72 seconds are 72/60=1*60+12, where the 12 seconds are the modulo ...