473,549 Members | 2,741 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

duration calculation

9 New Member
how can i calculate duration from different two times?
Attached Images
File Type: jpg d.jpg (15.6 KB, 71 views)
Apr 28 '16 #1
2 1404
johny10151981
1,059 Top Contributor
have you tried this link ?
Apr 28 '16 #2
Toxicous8
57 New Member
There are many snippets out there. Go and Google.
Jun 4 '16 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1602
by: maceo | last post by:
I have some code that extracts the data from a table and performs a calculation (total time) on one of the columns. Here is the code: <?php /* Database connection */
4
3702
by: Ken | last post by:
Hello In microsoft Visual c++ Is it possible to calculate the runtime of a function? If so where do we go to activate it. Thank you ken
18
2355
by: pb648174 | last post by:
Greeting, below is the complete SQL taken from aspfaq.com (retrieved from this newsgroup I believe) The query takes about two minutes to run. Does anybody have a better set based way (sub-second response) to determine business days? CREATE TABLE dbo.Calendar ( dt SMALLDATETIME NOT NULL PRIMARY KEY
4
5696
by: Stephen Young | last post by:
Hello Have a bit of a problem, im trying to get the total number of hours:minutes for all actions over the month in a query, have tried two methods to no luck... Duration This Month: Format(Sum(.-.),"hh:nn") displays the total hours but rolls over anything over 1 day and starts
4
2462
by: John | last post by:
Hi I have a start date and a start time field. I also have a timespan value which can be anything from 5 minutes (TimeSpan(0, 5, 0)) to 2 weeks (TimeSpan(14, 0, 0, 0)). How can I get an end date and end time (separate fields) by adding timespan to start date & start time? Thanks Regards
4
2498
by: sara | last post by:
i am studying a computer engineering and i started taking programming using C++ since month i have question i think it`s easy for you all *prof.programmer* but it`s bit diffecult for me plzz i need your help. (: this is the question: ** A new telephone communication company needs a billing calculation program. The cost of a call is based...
2
1228
by: walrama | last post by:
Hello, I have to write a small script which allows users to select individual tracks from a music album. Each track has a checkbox next to its title (to allow for multiple selections). Each title also mentions the duration of the track. I have to pass the values of the selected tracks to the next page and this second page should display...
15
42601
karthickkuchanur
by: karthickkuchanur | last post by:
Hai sir, i assigned to calculate the age from current date ,i have the date of birth of employee from that i have to calculate the age dynamically, i refer to google it was confusing me .please give some idea to do sir
3
2488
by: Jennifer | last post by:
I've got a bit of a problem calculating the duration of hours between a clock-in time and a clock-out time. It's a fairly straight-forward process. I put the clock-ins, clock-outs in a temp table and then do an update on the table UPDATE #TempEmpHours SET Duration = DATEDIFF(mi, ClockIn, ClockOut)/60.0 The wacky results are below. ...
7
3779
by: Nzsquall | last post by:
Hi, I am a C# beginner, can somebody tells me how to code in the value-changed event of the DateTimePicker control so that it can accept two dates and calculates the difference between them? For example, the duration day between now and any day changed in the daytimepicker? Thanks in advance
0
7520
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7450
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7470
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7809
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5368
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3481
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1941
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1059
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
763
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.