Calculating Elapsed time over multiple days

Hello Community!
I am creating a logbook for our aircraft and attempting to correctly use the DUR2HOURS function to calculate flight times. DUR2HOURS does a great job of converting take off and landing times into decimal format but runs in to trouble when take off is late on one day and landing is on the next day. For example: Takeoff at 21:00 and landing at 01:00 gives a large negative number. I am using the very basic formula =DUR2HOURS([ldg time]-[takeofftime]) I realize that my equation will not work when we land on the next day. How can I modify my formula to correctly calculate a duration over multiple days? Thanks in advance for your help!

if you enter the complete date and time then this should still work:
format the depart and arrival times:
You can then sum the durations as:
C13=SUM(C)
Rows 1 is a header and row 13 is a footer

Similar Messages

  • How can I get the updates for Photoshop CS5 to download to my new Macbook Pro where I have already installed CS5 from my original disk? I have tried many times over 2 days. I was able to successfully download the current version of Adobe DNG converter.

    How can I get updates for Photoshop CS5 to download to my new Mac book pro where CS5 is already installed from my original disk? I have tried many times over 2 days. I get the same error messages re downloading error. I successfully downloaded the current version of Adobe DNG Converter & it installed perfectly. Help please!

    The Adobe auto updater is highly unreliable.
    You need to look for and download the update yourself and then manually apply it as per the detailed instructions on the download page:
    Adobe - Photoshop : For Macintosh
    ~~~~~~~~~~~~~~~~~~~~~~
    Please note that the Adobe Camera Raw plug-in must be updated separately, after you have updated Photoshop:
    Adobe - Adobe Camera Raw and DNG Converter : For Macintosh

  • App store says my redemption code is being modified. i tried several times over several days still being modified

    app store says my redemption code is being modified. i tried several times over several days still being modified

    Snafujafo wrote:
    Dear ED3K:
        First:  I hope you don't work for Apple as you have some poor communication skills in assistance. That said, I would never in a million years pay you 45 dollars to help me. I think I would sleep with Satan first!!
    No one here works for Apple. This is a user-to-user technical support forum. Everyone here is a volunteer. You tend to get from this forum what you bring to it. If you come in ranting and raving and saying you're going to throw your iPhone out the window and that Apple is mean, people are not likely to respond to you with sweetness and light and puppies and kittens.
    If you really want help, I'd suggest you take a deep breath and then start a new thread in which you explain the problems you're having, the steps you've taken to resolve the problems, any error messages you've gotten. Stick to the facts. Check the attitude and emotion at the door. People will do their best to help you.
    Best of luck.

  • Calculating Elapsed Time Is Off By One Hour

    I am fully aware of many topics discussed in the various forums here related to the OS timezone and DST settings impacting how the JVM will process date/time calculations. I am running on Windows XP Professional, and I have checked and double checked the timezone setting, it is correctly set to Central Time and the "Automatically adjust clock for daylight saving changes" checkbox is checked.
    The code found at the end of this message clearly shows the problem for which I have yet to find an explination. I intended to be able to use a timer to update a string to show how much time has elapsed since the start of anything for which I need to know this information. As you can see by the results (example of which is listed after the code), the timezone and DST offsets seem to be properly retrieved by the JVM, but if this is the case, then why is the elapsed time value off by one hour?
    I am looking for a solution/explanation involving the date/time classes, not a workaround whereby I end up extracting multiple time representation subsets and manipulating them myself. Any help will be greatly appreciated.
    * TestTimeZone.java
    * Created on September 12, 2004, 7:18 PM
    import java.io.*;
    import java.util.*;
    import java.awt.event.*;
    import java.sql.*;
    import java.text.*;
    * @author  Jared
    public class TestTimeZone {
        java.util.Date startDt;
        /** Creates a new instance of TestTimeZone */
        public TestTimeZone() {
         * @param args the command line arguments
        public static void main(String[] args) {
            new TestTimeZone().go();
        private void go() {
            startDt = new java.util.Date();
            TimeZone tz = TimeZone.getDefault();
            System.out.println("the default timezone is " + tz.getDisplayName(true, TimeZone.LONG));
            System.out.println("the default timezone ID is " + tz.getID());
            System.out.println("useDaylightTime = " + tz.useDaylightTime());
            System.out.println("default locale = " + Locale.getDefault().toString());
            javax.swing.Timer t = new javax.swing.Timer(1000, new ActionListener() {
                public void actionPerformed(ActionEvent ae) {
                    java.util.Date currDt = new java.util.Date();
                    Calendar cal = Calendar.getInstance();
                    long elapsedTime = currDt.getTime() - startDt.getTime() -
                        (cal.get(Calendar.ZONE_OFFSET) + cal.get(Calendar.DST_OFFSET));
                    SimpleDateFormat formatter = new SimpleDateFormat("HH:mm:ss");
                    System.out.println("Elapsed: " + formatter.format(new java.util.Date(elapsedTime)) +
                        " Start: " + formatter.format(startDt) +
                        " Current: " + formatter.format(currDt));
            t.start();
            while (true) try {
                Thread.sleep(10);
            } catch (Exception e) {
                e.printStackTrace();
    }And here is the result I am seeing:
    the default timezone is Central Daylight Time
    the default timezone ID is America/Chicago
    useDaylightTime = true
    default locale = en_US
    Elapsed: 23:00:01 Start: 00:03:57 Current: 00:03:58
    Elapsed: 23:00:02 Start: 00:03:57 Current: 00:03:59
    Elapsed: 23:00:03 Start: 00:03:57 Current: 00:04:00
    Elapsed: 23:00:04 Start: 00:03:57 Current: 00:04:01
    Elapsed: 23:00:05 Start: 00:03:57 Current: 00:04:02
    "

    Great. Now that we have gotten half way to the goal, please let me know how you intend to get that difference in miliseconds presented as a time value using any of the date/time classes Java has to offer. That way, I don't have to rewrite the code that puts it into a properly formatted String (the kind folks at Sun have already written that code). Using date/time classes to acheive this is what I attempted with my application. I added the milisecond adjustments for TZ and DST because if I didn't the reported elapsed time would be off by 6 hours, not just 1.
    I am open to all suggestions.

  • Calculating elapsed time (in minutes) from a TIMESTAMP field in a table

    I have a table of events that contains a field, CREATION_DATE, that is defined as NOT NULL TIMESTAMP(6), and the value is normally in the format 'DD-MON-YYYY HH:MM:SS.FFFFFF xM'. I want to SELECT only those rows where the elapsed time between the CREATION_DATE and the local time (US/EASTERN) is greater than 15 minutes. And, I'd like the output to show the values for the elapsed time in days, hours, minutes, and seconds.
    Edited by: user12301147 on Dec 2, 2009 9:16 AM

    Hi,
    It looks like to have to adjust for time zones.
    I'm not sure what you mean by "2009-DEC-02 13:59:34.316, which is in actual time 2009-DEC-02 08:59:34.316." Aren't both actual times, just in different time zones? I'm also a lttle confused about the results: even if it's treating 6 hours 18 minutes as 0 hours 18 minutes, either way it's over 15 minutes.
    Convert either creation_date or SYSTIMESTAMP to the time zone of the other. (It looks like SYSTIMESTAMP is indeed Eastern Time, UTC - 5:00).
    Or, if they are always a fixed time apart, build that difference into the comparison. for example:
    WHERE SYSTIMESTAMP - creation_date > TO_DSINTERVAL ('-0 05:45:00')

  • Why doesn't the calendar carry the event title over multiple days?

    When creating a multiple-day event, the calendar does not carry the title over all of the days in the event.  In IOS6, this worked, but with the new IOS7, it does not.  Has anyone else had this problem?

    Apple did design it that way.... Spotlight search will find calendar entries.  See P. 195 of the User Guide... http://manuals.info.apple.com/en_US/iPhone_iOS4_User_Guide.pdf
    Settings > General > Spotlight Search

  • Single process order spanning over multiple days...

    Hi All -
    My scenario is as follows:
    I have a semi FG C going into multiple FGs A and B.
    Receipts for A and B create dependent requirements for C on different days of a week. It would always be 2 continous days, Monday-tues or Tue-Wed and so on.
    My lot size period type is "Days - 1." So when I run PPDS heuristic, the system creates 2 planned orders to cover the 2 different dependent requirements since my period bucket is days - 1.
    We would want only 1 planned order for semi FG C which spans over 2 days of the week. To achieve this, what I did is change the lot size period type to Week-1 ( with period factor 1) which would create a single process order on the last day of the week and have the scheduler move the order and align it with the receipt of the FIRST planned order( for A or B).
    Is there anyway we can let the system do this for us? Again the requirements can be on Day 1-2,2-3,3-4,4-5 etc...but what we would like is based on when the multiple requirements are, the system create the planned order for C on the day of the requirement of the first receipt( be it A or B).
    IF Dep Reqs are on day 2-3, the planned order for C is needed on day 2. If the dep reqs are on 4-5, the planned order for C should be on day 4.
    Any inputs will be appreciated.
    Also, is there any function in the DS planning board to "Merge" 2 orders?
    Varun

    Hi
    Changing to weekly lot size is the best option.  It seems your problem is that the process order should get over (end date) before the first requirement.  In such a case, you should also maintain a rounding value/fixed lot size in material C.  Then process order will be created before the order of A or B (The first of the two) starts.  In product view it will show a surplus on the first day and it will get consumed on the next day when B is produced.
    Another way is to avoid using period factor so that heuristic creates planned order before the requirement.
    Hope this should solve.
    Nitin

  • Events over multiple days only show on the first day in 'Month' view

    Hi,
    I've noticed that if I create an event that spans over two days (for example 23 May 2008 at 6 PM to 24 May 2008 at 1 PM) are only displayed on the from date in Month view.
    This is unfortunate because if I look at my calendar in Month view, I think I'm free on the 24th, when in fact I'm busy until 1 PM.
    Is there a way to get the Month view to display an entry for the event on both days (other than creating one event running from 23 May 2008 at 6 PM to 11:59 PM and a second from 24 May 2008 at 1:01 AM to 1 PM)?
    Message was edited by: Sam Watterson

    Hi Sam
    I just had the exact same problem the other day. I was asked to make an appointment with someone, I checked my calendar (actually on my iPhone) and I looked available that day so agreed and even entered the event. Turns out I will be working 70 miles away on the event I entered on the day prior. I've had the embarrassment of having to reschedule - makes me look disorganised.
    The month view on iPhone is just the same as iCal - if it's not an 'all day' event it only shows on the first day. This is poor. I recall even outlook and windows mobile calendar manages to display this sensibly. Apple should be fixing this pronto.

  • Itunes 11.1.2 keeps crashing on Maviericks... 3 times over 2 days

    Not sure what caused the crashes... kinda random to me. Copied the first part of the crash report from the console.
    If anyone could notice what the reason is.... would be great.
    Much appreciated
    Y
    ++++++++++++++
    Process:         iTunes [849]
    Path:            /Applications/iTunes.app/Contents/MacOS/iTunes
    Identifier:      com.apple.iTunes
    Version:         11.1.2 (11.1.2)
    Build Info:      iTunes-1112011001002031~1
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [178]
    Responsible:     iTunes [849]
    User ID:         501
    Date/Time:       2013-10-24 22:07:07.956 -0400
    OS Version:      Mac OS X 10.9 (13A603)
    Report Version:  11
    Anonymous UUID:  5B19EFB8-E45A-DC98-6953-E3571DDDB86E
    Sleep/Wake UUID: 72143218-7420-4AA6-A369-87C86F50897F
    Crashed Thread:  8
    Exception Type:  EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Application Specific Information:
    *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSDate typeIdentifier]: unrecognized selector sent to instance 0x600001204ff0'
    terminating with uncaught exception of type NSException
    abort() called
    ++++++++++++

    for what it's worth, posting my case. My crash was due to backup file of my iphone 5s... took me a while the crash was related to syncing my new iphone. Here is what I did. I removed itunes.plist file from the library folder and remove the old back up file from itunes preference, and re-buid & re-sync. The problem was gone. Check out your crash log... u might find something (most cases, u don't but). Mine was showing some issues related to memory... This is how i fixed my issue. The worst case, u can try re-install Mavericks, not that hard at all... but takes time.
    Good luck.

  • Calendar entry to span over multiple days

    I'm trying to set up a calendar view for various events, some of them lasting more than one day.
    How would I incorporate this functionality into the view, so that an entry would break out from one day and last from Mon-Wednesday if that is the case?
    I would assume one needs to take into account the end-date or the duration, so a new set of data should be imported for the table.
    Would appreciate any input, workarounds, etc. Thank you!

    Thank you, this definitely helps. I am giving it a try!
    EDIT: Unfortunately, I can't figure out how to get this plugin to pull data from existing tables. Will try some more and update the thread.
    Edited by: Andrei on May 2, 2012 9:58 AM

  • How can I convert a PSE 8 catalog to a PSE 10 catalog? I have tried numerous times over 3 days.

    I have repaired the PSE * catalog even though no errors were found. There are no *.avi files in the catalog. The conversion has a slight hang up at 34% and again at 82%, continues to the end and reports that the conversion failed. Why do I and so many others report the same problem? I am using Win 7 pro and have plenty of space on the disk. I have too much info in the catalog to lose now as I have been labeling all my slides for eventual backup onto DVD's to send  the approprate photos to friends. How do I make this conversion successfully when all the suggested methods do not work or is it better never to get an Adobe PSE upgrade?

    Do you have any unsupported video files in the catalog such as AVCHD (which requires Premiere Elements) which may be causing the conversion to stall.
    If not, try launching as admin by going directly to the application. Close the Organizer and go to:
    C: >> Program Files (x86) >> Elements 10 Organizer
    Right click on the file “PhotoshopElementsOrganizer.exe” and choose Run As Administrator.
    Then go to:
    File >> Catalog >> Convert
    Try selecting your PSE8 catalog again and clicking the Convert button.
    N.B. the exe file will be in Program Files on 32 bit windows.

  • HT201363 I have requested the email to help me with forgotten security questions several times over many days but I do not get the email; now I cannot use my account without knowing the security question answers?

    I have repeatedly requested the email to help with forgotten security question passwords but never receive it; I cannot access my account for purchases with out the answers; how can i fix this?

    Hello Jamped,
    It sounds like you are doing the correct process to reset your security questions, but you are not getting the email at your recovery address. I recommend checking your spam folder first. If it is not there I would next reach out to
    our iTunes Account Security team who may be able to help if you can verify your account info:
    Apple ID: Contacting Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • Single Class Split Over multiple non-consecutive Days??

    How do I setup in OLM  a class split over multiple days for Example:
    I have a Diversity Awareness Course and Offering. The Class is 2 days long, but not on consecutive days, they are a week apart.
    Do I create a Day1 Class and Day2 class under the same course and make it a prerequisite to attend day 1?
    From a reporting point of view this now shows as 2 classes when it is only 1; inflating the class figures.
    Or Can I split it into 2 sessions under the same class?
    What is the best way to do this?

    Hi!
    You can create a Class with two Sessions underneath it (one for each day).  Make the Start Date for the Class the day the Class begins and set the End Date to correspond to the last day.  Your Duration should be set to 2 Days.  Learners will be able to view details for each session, and you can assign different instructors and rooms for each day if you use Resource Bookings in OLM.
    Anne
    Anne Saulnier | Synergy Codeworks LLC
    [email protected]
    603-864-9942

  • Calculating total time.

    I'm somewhat new to using spreadsheets. Basically I just want to keep track of the time I spend doing a particular job. So I'm tracking my start time, end time, and then I want to calculate the total time spent. Thanks.

    Yes, I thought about that. But if you start at say
    9pm and end at 2am you would get the incorrect result
    of 7 hours. I think I have to convert the time to
    something else before the math takes place. But I'm
    not sure how that would work.
    I'm not sure how you managed to subtract 9pm from 2pm and get 7 hours. When I try 2am - 9pm, I get #VALUE!, as AppleWorks reads both 'times' as text, and cannot use Text values in a formula that requires numbers. AppleWorks is a bit fussy on what it considers to be a number.
    Using the default alignment, you can recognize what AppleWorks thinks is a number—it will be aligned to the right of the cell—and what AW considers to be Text—it will be aligned to the left of the cell. In the case of Time, you're better off using the 24 hour clock, and entering one minute betore 2pm as 13:59.
    The Mac clock's unit of time is the (24 hour) Day, and all times entered are regarded as the portion of one day that has elapsed up to that time. When you do the subtraction, the result is also a time of day. For start and end times within the same calendar day, simply doing the subtraction will give a result that can be read as the (correct) elapsed time. For the example times you gave, the 'correct' result is also visible:
    02:00 - 21:00 = 05:00
    But the actual numbers behind that 05:00 result and the two times used to get it are the portion of the current day that has passed up to each of the times entered, and the difference obtained when you do the subtraction:
    0.0833 - 0.8750 = -0.7917
    If you only want the (readable) result for a single day, that's not a problem. But if you want to add the results to get a total time for a week, you need to (make AppleWorks) do some additional math. In simplest terms, you need to add 1 to the end time if the end time is on the calendar day after the start time. There's an explanation of this below, which you should read for a better understanding of Time and the Mac, but which isn't necessary to use the formula.
    The formula assumes your start time is in column B, your end time in column C, your formula reporting time worked is in column D, and that you will enter times in rows 2..6, and calculate the week's sum in D7
    Enter in D2, and fill down to D6: =IF(C2,C2-B2+(C2<B2),"")
    Format these cells to display as Time.
    Enter in D7: =24(SUM(D2..D6)) —to report the result in hours (eg. 25.678)
    Format the cell to display as Number, General.
    or
    Enter in D7: =INT(24(SUM(D2..D6))&":"MINUTE(SUM(D2..D6)) —to report the result as hours and minutes
    Note that the second option for D7 produces a text string which will not be useable in further calculations.
    This is Text, so no Number formatting is necessary.
    Regards,
    Barry
    Time and the Mac
    The Mac clock tracks time in Days and Fractions of a Day, starting at midnight, January 1, 1904.
    Nine PM today, May 8, 2006, represented as a decimal number, is 37383.875. Two AM tomorrow, May 9, 2006, is 37384.0833333333.
    An AppleWorks spreadsheet cell (or database field) formatted to display as Time will ignore the whole number part of those numbers, and interpret the decimal fraction part as Time of Day, and display the result in the Time format you have chosen for the cell.
    A cell (or field) formatted to display as a Date will ignore the fractional part of the number, and display the whole number part in the Date format you have chosen.
    When you enter a time, the result is the time of day on January 1, 1904. When calculating elapsed times where start and end times cross the midnight boundary, you need to add 1 (day) to the result to compensate for the change in day and get a result that can be used in further calculations. That's what the "+(C2<B2)" part of the first formula above does—adds 1 if "(C2<B2)" is TRUE or adds 0 it it's false.
    If you add times, the result is 'correct', but if the total reaches 24 hours, the displayed result will appear incorrect as a Time formatted cell ignores the whole number part of the actual result (eg. 27 hours, or 1.25 days), will display as 03:00, the same as 3 hours, or 0.25 days. You can convert the result to hours and fractions of hours by simply multiplying the result by 24, and displaying it as a Number rather than as Time.
    B

  • Per Diem Calculations for Single Day and Multiple Days

    Hi Gurus
    I have just now confronted a weird calculation of Per Diems.
    I have configured Per Diems for 1 Day say $50 per Day, irrespective of the no.of hours.
    When I create a trip for a single day, the system is calculating $50 Per DIem for one day.
    Whereas, when I create a trip for 3 days, the system is calculating only for Two days i.e, $50x2=$100 and not $150 as expected, meaning the lfirst and seond day gets calculated and the last day is not getting calculated
    Please let me know where I am missing the little configuration in order to let the system calculate for multiple days correctly ?
    This is an urgent requirement please.....Need help.
    Thank you
    RRoy

    Hi,
    As I told you earlier that there could be serval options which needs to be checked again.
    For example:
    a)  V_T702N_D
    b) Your per diem table
    I think if you have checked 24 hours in V_T702N_D , then please verify the trip duration on PR05
    If it was working earlier then below might help you...
    For Example:
    Start date/time 23-July-2011 Time 00:00
    End date/time 25-July-2011 Time 00:00
    Here above number of days are three (23,24,25) but calculation for meals shall be done for two days, because for three days per diem calculation it shall be 48:01 Hours  above is 48 Hours..
    Please try in PR05 and check the results.
    Start date/time 23-July-2011 Time 00:00
    End date/time 25-July-2011 Time 00:01
    So please check again and let know in case of problem..
    Regards,
    Muhammad Umer

Maybe you are looking for

  • How to have push button in Table control

    Hi Experts,    I have an internal table which I populate in table control. How can I have pushbutton in table control(in every row). If done how to have funtion code which will trigger PAI. Thanks and regards. Venkat

  • I downloaded reader 11.0.02 in order to edit a pdf file.  The instructions i had were to select tool

    I downloaded reader 11.0.02 in order to edit a pdf file.  The instruction I had were to select "Tools", then click on "Content editing"  When I clicked Tools, "Content editing" was not an option!

  • Getting support on installation of server 1.2v3

    Hello. In addition to my MDD mac which I use everyday, I am planning on using my sawtooth G4 500 as a server machine. I just purchased a whole box set of the Mac OS X Server 1.2v3(looks like mac os 9 or 8). I am having extreme trouble installing this

  • Another 7.2.3 vs. OS 10.4.9 story

    Just another story to add to the numerous problems people have posted here about using Logic 7.2.x with Mac OS 10.4.9. I'm trying to score a video. Upon import, the video (and accompanying audio) play fine. However, when I record a track (audio, MIDI

  • Network Offline on a C6380

    I've searched to find a couple of mentions of offline messages in this area already, but none of them answered my question.  So, here it is: I have a C6380 printer that has been working fine for about 8 months.  The set up is wireless and have anywhe