F Floyd Forbes Apr 26, 2004 #1 Is there a way to convert time e.g 8:30 to 8.50 or 8:12 to 8.25 in Access? Floyd
F Floyd Forbes Apr 26, 2004 #3 Is it possible to make e.g 8:00 - 8:07 to 8.00, 8:08-8:22 to 8.25, 8:23-8:36 to 8.50. I'm trying to .25,.50,.75. Floyd
Is it possible to make e.g 8:00 - 8:07 to 8.00, 8:08-8:22 to 8.25, 8:23-8:36 to 8.50. I'm trying to .25,.50,.75. Floyd
V Van T. Dinh Apr 28, 2004 #4 ?Round(#8:07# * 96) / 4 8 ?Round(#8:08# * 96) / 4 8.25 ?Round(#8:07# * 96) / 4 8 ?Round(#8:08# * 96) / 4 8.25 Check your boundary conditions. I think it should be 8:23 to 8:37 for the 0.5.
?Round(#8:07# * 96) / 4 8 ?Round(#8:08# * 96) / 4 8.25 ?Round(#8:07# * 96) / 4 8 ?Round(#8:08# * 96) / 4 8.25 Check your boundary conditions. I think it should be 8:23 to 8:37 for the 0.5.
J John Vinson Apr 29, 2004 #5 Is it possible to make e.g 8:00 - 8:07 to 8.00, 8:08-8:22 to 8.25, 8:23-8:36 to 8.50. I'm trying to .25,.50,.75. Click to expand... Try converting to an integer number of quarter-hours and then dividing: CInt(CDbl(TimeValue([timefield])) * 96))/4.
Is it possible to make e.g 8:00 - 8:07 to 8.00, 8:08-8:22 to 8.25, 8:23-8:36 to 8.50. I'm trying to .25,.50,.75. Click to expand... Try converting to an integer number of quarter-hours and then dividing: CInt(CDbl(TimeValue([timefield])) * 96))/4.