print format for difftime
"BXC (Bendix Carstensen)" <bxc at steno.dk> writes:
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).
Ummm, how are you going to convert a number of days to years/months/days without specifying an origin? (00-01-00 could be 28,29,30, or 31 days.) Unless, of course you want to deal in "banker's months" of 30 + 5.25625/12 days.
O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907