Solved

Covert hours

Posted on 2011-03-17
7
321 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
  • 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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 

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 119

Accepted Solution

by:
Rey Obrero 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In the article entitled Working with Objects – Part 1 (http://www.experts-exchange.com/Microsoft/Development/MS_Access/A_4942-Working-with-Objects-Part-1.html), you learned the basics of working with objects, properties, methods, and events. In Work…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Familiarize people with the process of utilizing SQL Server stored procedures 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 Micr…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now