Convert to hours
-
hi all...this may sound dum but i need the help...how can i convert this value "86400000" from milliseconds into hours
living life on the flip side
There are 1000 milliseconds in an second There are 60 seconds in a minute There are 60 minutes in an hour 1000 * 60 * 60 = 3600000 milliseconds in an hour. I'm sure you can figure out the rest of the maths.
Recent blog posts: *SQL Server / Visual Studio install order *Installing SQL Server 2005 on Vista *Crazy Extension Methods Redux * Mixins My Blog
-
There are 1000 milliseconds in an second There are 60 seconds in a minute There are 60 minutes in an hour 1000 * 60 * 60 = 3600000 milliseconds in an hour. I'm sure you can figure out the rest of the maths.
Recent blog posts: *SQL Server / Visual Studio install order *Installing SQL Server 2005 on Vista *Crazy Extension Methods Redux * Mixins My Blog
Colin Angus Mackay wrote:
I'm sure you can figure out the rest of the maths
You only explained the maths ;) ...I believe he was looking for some cooked code :)
int LiSeconds = 86400000;
float LfHours = (LiSeconds / 60) / 60; -
Colin Angus Mackay wrote:
I'm sure you can figure out the rest of the maths
You only explained the maths ;) ...I believe he was looking for some cooked code :)
int LiSeconds = 86400000;
float LfHours = (LiSeconds / 60) / 60; -
Colin Angus Mackay wrote:
I'm sure you can figure out the rest of the maths
You only explained the maths ;) ...I believe he was looking for some cooked code :)
int LiSeconds = 86400000;
float LfHours = (LiSeconds / 60) / 60;We prefer not to spoon-feed people here.