TOC  |              |              | 


day - hour, minutes, seconds conversion to/from decimal day

day hr min sec or
day hr min or
day decday


DESCRIPTION

day takes a user input time, given as hours, minutes and seconds, converts to an equivalent decimal day (taking midnight as the start of the day) and write the result to stdout. Conversely, day will convert a decimal day to hours, minutes and seconds.

day recognizes three input forms

EXAMPLES

Values returned by the program will be shown in fixed width font.
Convert time to the decimal day.
day 12 45 0
0.52083333

Convert a decimal day to hours, minutes and seconds.
day 0.520833334
12 30 0.000

Convert current system time to decimal day (shell dependent).
day $(date +"%H %M %S")
0.43524306



 TOC  |              |              | 


day.html
January 14, 2000
Steve Hilla