lezawang
Well-known Member
- Joined
- Mar 27, 2016
- Messages
- 1,805
- Office Version
- 2016
- Platform
- Windows
Hi
I want to convert time to general (number). I want the numbers to be appeared like this 1/24, 2/24, 3/24,...., 24/24
I changed times to fractions format but I did not get what I want. In some cases like 10:00 pm, the fraction format changed it to 1 instead of 22/24.
Thank you very much
[TABLE="class: grid, width: 128"]
<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64, align: right"]1:00 AM[/TD]
[TD="width: 64, align: right"]0 [/TD]
[/TR]
[TR]
[TD="align: right"]2:00 AM[/TD]
[TD="align: right"]0 [/TD]
[/TR]
[TR]
[TD="align: right"]3:00 AM[/TD]
[TD="align: right"] 1/8[/TD]
[/TR]
[TR]
[TD="align: right"]4:00 AM[/TD]
[TD="align: right"] 1/6[/TD]
[/TR]
[TR]
[TD="align: right"]5:00 AM[/TD]
[TD="align: right"] 1/5[/TD]
[/TR]
[TR]
[TD="align: right"]6:00 AM[/TD]
[TD="align: right"] 1/4[/TD]
[/TR]
[TR]
[TD="align: right"]7:00 AM[/TD]
[TD="align: right"] 2/7[/TD]
[/TR]
[TR]
[TD="align: right"]8:00 AM[/TD]
[TD="align: right"] 1/3[/TD]
[/TR]
[TR]
[TD="align: right"]9:00 AM[/TD]
[TD="align: right"] 3/8[/TD]
[/TR]
[TR]
[TD="align: right"]10:00 AM[/TD]
[TD="align: right"] 3/7[/TD]
[/TR]
[TR]
[TD="align: right"]11:00 AM[/TD]
[TD="align: right"] 1/2[/TD]
[/TR]
[TR]
[TD="align: right"]12:00 PM[/TD]
[TD="align: right"] 1/2[/TD]
[/TR]
[TR]
[TD="align: right"]1:00 PM[/TD]
[TD="align: right"] 1/2[/TD]
[/TR]
[TR]
[TD="align: right"]2:00 PM[/TD]
[TD="align: right"] 4/7[/TD]
[/TR]
[TR]
[TD="align: right"]3:00 PM[/TD]
[TD="align: right"] 5/8[/TD]
[/TR]
[TR]
[TD="align: right"]4:00 PM[/TD]
[TD="align: right"] 2/3[/TD]
[/TR]
[TR]
[TD="align: right"]5:00 PM[/TD]
[TD="align: right"] 5/7[/TD]
[/TR]
[TR]
[TD="align: right"]6:00 PM[/TD]
[TD="align: right"] 3/4[/TD]
[/TR]
[TR]
[TD="align: right"]7:00 PM[/TD]
[TD="align: right"] 4/5[/TD]
[/TR]
[TR]
[TD="align: right"]8:00 PM[/TD]
[TD="align: right"] 5/6[/TD]
[/TR]
[TR]
[TD="align: right"]9:00 PM[/TD]
[TD="align: right"] 7/8[/TD]
[/TR]
[TR]
[TD="align: right"]10:00 PM[/TD]
[TD="align: right"]1 [/TD]
[/TR]
[TR]
[TD="align: right"]11:00 PM[/TD]
[TD="align: right"]1 [/TD]
[/TR]
[TR]
[TD="align: right"]12:00 AM[/TD]
[TD="align: right"]1 [/TD]
[/TR]
</tbody>[/TABLE]
I want to convert time to general (number). I want the numbers to be appeared like this 1/24, 2/24, 3/24,...., 24/24
I changed times to fractions format but I did not get what I want. In some cases like 10:00 pm, the fraction format changed it to 1 instead of 22/24.
Thank you very much
[TABLE="class: grid, width: 128"]
<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64, align: right"]1:00 AM[/TD]
[TD="width: 64, align: right"]0 [/TD]
[/TR]
[TR]
[TD="align: right"]2:00 AM[/TD]
[TD="align: right"]0 [/TD]
[/TR]
[TR]
[TD="align: right"]3:00 AM[/TD]
[TD="align: right"] 1/8[/TD]
[/TR]
[TR]
[TD="align: right"]4:00 AM[/TD]
[TD="align: right"] 1/6[/TD]
[/TR]
[TR]
[TD="align: right"]5:00 AM[/TD]
[TD="align: right"] 1/5[/TD]
[/TR]
[TR]
[TD="align: right"]6:00 AM[/TD]
[TD="align: right"] 1/4[/TD]
[/TR]
[TR]
[TD="align: right"]7:00 AM[/TD]
[TD="align: right"] 2/7[/TD]
[/TR]
[TR]
[TD="align: right"]8:00 AM[/TD]
[TD="align: right"] 1/3[/TD]
[/TR]
[TR]
[TD="align: right"]9:00 AM[/TD]
[TD="align: right"] 3/8[/TD]
[/TR]
[TR]
[TD="align: right"]10:00 AM[/TD]
[TD="align: right"] 3/7[/TD]
[/TR]
[TR]
[TD="align: right"]11:00 AM[/TD]
[TD="align: right"] 1/2[/TD]
[/TR]
[TR]
[TD="align: right"]12:00 PM[/TD]
[TD="align: right"] 1/2[/TD]
[/TR]
[TR]
[TD="align: right"]1:00 PM[/TD]
[TD="align: right"] 1/2[/TD]
[/TR]
[TR]
[TD="align: right"]2:00 PM[/TD]
[TD="align: right"] 4/7[/TD]
[/TR]
[TR]
[TD="align: right"]3:00 PM[/TD]
[TD="align: right"] 5/8[/TD]
[/TR]
[TR]
[TD="align: right"]4:00 PM[/TD]
[TD="align: right"] 2/3[/TD]
[/TR]
[TR]
[TD="align: right"]5:00 PM[/TD]
[TD="align: right"] 5/7[/TD]
[/TR]
[TR]
[TD="align: right"]6:00 PM[/TD]
[TD="align: right"] 3/4[/TD]
[/TR]
[TR]
[TD="align: right"]7:00 PM[/TD]
[TD="align: right"] 4/5[/TD]
[/TR]
[TR]
[TD="align: right"]8:00 PM[/TD]
[TD="align: right"] 5/6[/TD]
[/TR]
[TR]
[TD="align: right"]9:00 PM[/TD]
[TD="align: right"] 7/8[/TD]
[/TR]
[TR]
[TD="align: right"]10:00 PM[/TD]
[TD="align: right"]1 [/TD]
[/TR]
[TR]
[TD="align: right"]11:00 PM[/TD]
[TD="align: right"]1 [/TD]
[/TR]
[TR]
[TD="align: right"]12:00 AM[/TD]
[TD="align: right"]1 [/TD]
[/TR]
</tbody>[/TABLE]