Solved

Covert hours

Posted on 2011-03-17
7
329 Views
Last Modified: 2012-05-11
Hi Experts,
Is any way I can covert from 1 hour 30 min to 1.5 hours?

Thanks
0
Comment
Question by:jodstrr2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 3

Expert Comment

by:CarlsbergFTW
ID: 35157029
(minute_value / 60)  * 100 - gives you the percentage , pretty close to your need.
0
 

Author Comment

by:jodstrr2
ID: 35157062
here is my formula in my query
Hours: Format([EndTime]-[BeginTime],"h:mm") but the result is 1:30
0
 
LVL 3

Expert Comment

by:CarlsbergFTW
ID: 35157106
something like this in a select statement :

select ((to_char(sysdate,'hh')) ),((to_char(sysdate,'mm'))/60)*100 from dual

This select worked on ORACLE SQL.
0
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 

Author Comment

by:jodstrr2
ID: 35157116
I'm not use ORACLE SQL, I'm using access 2003
0
 
LVL 3

Expert Comment

by:CarlsbergFTW
ID: 35157123
You can just work with the minute value as specified in my first post. It's basic math (calculating percentage)
0
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 500 total points
ID: 35157167

in access, use datediff

DateDiff("n", [BeginTime], [EndTime])/60

0
 

Author Closing Comment

by:jodstrr2
ID: 35157228
Thanks so much capricorn1!!!
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question