[R] print format for difftime

From: BXC (Bendix Carstensen) <bxc_at_steno.dk>
Date: Sat 21 May 2005 - 15:53:51 EST


Has anyone written a function that will print a difftime in the form:

hh:mm:ss

or

yy-mm-dd hh:mm:ss

depending on the actual size.
(sloppy notation for months/minutes, but surely you get the point).

Bendix



Bendix Carstensen
Senior Statistician
Steno Diabetes Center
Niels Steensens Vej 2
DK-2820 Gentofte
Denmark
tel: +45 44 43 87 38
mob: +45 30 75 87 38
fax: +45 44 43 07 06

bxc@steno.dk
www.biostat.ku.dk/~bxc

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat May 21 16:01:16 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:59 EST