kilobytes to hours?

  • Thread starter Thread starter pbd22
  • Start date Start date
P

pbd22

Hi.

Could somebody provide me with a formula (or, better, a
code example) for converting kilobytes to hours (or, time) from the
server?

Thanks.
 
Could somebody provide me with a formula (or, better, a
code example) for converting kilobytes to hours (or, time) from the
server?

Could you be more specific about what you are trying to do? Kilobytes
is not a measure of time so it makes no sense to convert them to
hours.

Chris
 
Hello Chris,

I think the OP wants to find out how long it takes to download a file
from a server.

Well, as such predictions are just based on the current download speed,
the formula would be something like this:

TimeInSeconds=FileSizeInBytes/(BytesPerSecond)

Best regards,

Martin
 
pbd22 said:
Could somebody provide me with a formula (or, better, a
code example) for converting kilobytes to hours (or, time) from the
server?

There is no way to do that because time cannot be measured in bytes and an
amount of data cannot be measured in hours.
 
Back
Top