mks2hms........convert seconds with decimal fractions into hour, min, sec call: [h,m,s]=mks2hms(s); [h,m,s]=mks2hms(s,'verbose'); hms=mks2hms(s); s: number of seconds (with decimal fractions) verbose: if present, the result is prettyprinted to the screen. result: h: hours m: minutes s: seconds hms: a sting containing the time (only if the input is not a vector) Martin Knapmeyer, 26.04.2002