[guide-user] Time conversion

Paul Schlyter Mar 25, 2002

> Hi There,
> Does anyone know where I can get some software for converting
> Hours,Minutes and seconds to a decimal part of a day?
> I need this if reporting data to the MPC.
> I know it is possible to work each one out manually, but a simple
> program would be great.

On the HP-48 series of programmable calculators, this simple program
will do the trick:

<< ->HMS 24 / >>

and in BASIC you can try this little program:

10 INPUT H,M,S
20 PRINT (H+M/60+S/3600)/24

> Don't thing Guide does this?

I don't think so -- you cannot burden Guide by expecting it to do all
kinds of trivial calculations. So program it yourself, on whatever
programmable device you have available!