473,406 Members | 2,273 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Time Elapsed between two dates and two times

Hi,

I've been researching this for the past few hours but most of what i
found involved work weeks/shifts. i hope my problem is simpler. Given
a start date and a start time, end date and end time. I need to
calculate the remaining/elapsed time and output it in the following
format:

Time Remaining / Elapsed: # Days, # Hours, # Minutes.
Your help is truley appreciated.

Terry
Nov 12 '05 #1
2 2364
First of all, add the date and the time together, so that you have a start
date/time and an end date/time.

Then, see whether http://members.rogers.com/douglas.j....iff2Dates.html
helps.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(No private e-mails, please)

"Terry Shandal" <ba*****@hotmail.com> wrote in message
news:82**************************@posting.google.c om...
Hi,

I've been researching this for the past few hours but most of what i
found involved work weeks/shifts. i hope my problem is simpler. Given
a start date and a start time, end date and end time. I need to
calculate the remaining/elapsed time and output it in the following
format:

Time Remaining / Elapsed: # Days, # Hours, # Minutes.
Your help is truley appreciated.

Terry

Nov 12 '05 #2
Worked great. Thank you very much for your help.

Terry

"Douglas J. Steele" <NOSPAM_djsteele@NOSPAM_canada.com> wrote in message news:<xK******************@news04.bloor.is.net.cab le.rogers.com>...
First of all, add the date and the time together, so that you have a start
date/time and an end date/time.

Then, see whether http://members.rogers.com/douglas.j....iff2Dates.html
helps.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(No private e-mails, please)

"Terry Shandal" <ba*****@hotmail.com> wrote in message
news:82**************************@posting.google.c om...
Hi,

I've been researching this for the past few hours but most of what i
found involved work weeks/shifts. i hope my problem is simpler. Given
a start date and a start time, end date and end time. I need to
calculate the remaining/elapsed time and output it in the following
format:

Time Remaining / Elapsed: # Days, # Hours, # Minutes.
Your help is truley appreciated.

Terry

Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: LRW | last post by:
I'm trying to get the difference between two dates, formatted in: Time elapsed: X years, X months, X days but I can't seem to get it right. Here's my last attempt: <?php $oldtime =...
15
by: kpp9c | last post by:
I am kind of in a bit of a jam (okay a big jam) and i was hoping that someone here could give me a quick hand. I had a few pages of time calculations to do. So, i just started in on them typing...
2
by: DWalker | last post by:
In Visual Studio (Visual Basic) .NET 2002, I noticed that this: Dim Elapsed as DateTime = Now - Now gives a "compile time" error (error in the IDE), saying that the '-' operator is not...
8
by: Philipp Buehler | last post by:
Hello, postgresql 7.3.4 on Debian or the redhat packaged 7.3.4-8 on RHEL AS3 - same issue, so I somewhat cut out RH is playing things on me. Tested on two different PCs, too (say, one debian,...
5
by: Grey Alien | last post by:
I need to convert timestamps that are given as the number of seconds that have elapsed since midnight UTC of January 1, 1970, (not counting leap seconds). It seems all of the std C functions...
3
by: Gretsch | last post by:
Web, html, javascript, Hi, I need to calculate the time since this .htm file was last modified. {which I can then use in a calculation, rather than display, so days&decimals format would be OK}...
2
by: dwasbig9 | last post by:
Hi Group (fairly limited knowledge of Access and almost none of Access VBA. Using Access 2003). I need to sum time, I've found through the groups archive an sql extract that led me to this ...
7
by: Ecohouse | last post by:
I'm working on a project that was dropped in my lap. It is in Access 2003. There are short time fields which get calculated values (eg. 1:30). But I will need to total up those values for...
3
by: Steve | last post by:
I am trying to calculate elapsed travel times for flights. My plan is to enter the local departure time, the departure city and the local arrival time and city. These times would be standardised...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.