

You can still use the formula =B2-A2 to get the elapsed time but it will also be displayed in days until you apply Format Code to :MM. Calc will display these values as days instead of hours/minutes.

You could also enter the A2/B2 formulas using the TIME() function, but then you must enter seconds and use function separator semicolon instead of time separator colon: =1+TIME(19 40 0) and =4+TIME(6 56 0). You can use a format or styles and set the Format Code to :MM if you don't want to see the seconds displayed in the cell. For this example, I get 59:16:00, that is, 59 hours and 16 minutes. For example, 1:00 PM would be 13:00 in 24-hour time. For PM hours, add 12 to the number to convert it to 24-hour time. After pressing the Enter key you will see the result in. Enter the following formula in cell A3: NOW ()-A1. As an example, to find out exactly how old you are in seconds or hours, follow the following steps: In a spreadsheet, enter your birthday in cell A1. AM hours are the same in both 12-hour and 24-hour time. In LibreOffice Calc, you can perform calculations with current date and time values. If the times are not already in 24-hour time, convert them to 24-hour time. Then the elapsed time is the simple formula =B2-A2. The goal is to subtract the starting time from the ending time under the correct conditions. Times are entered within quotes in your locale's standard format, which for me in the United States, is HH:MM. In this case, Paris to Istanbul, you should enter formula =1+"19:40" in A2 and formula =4+"06:56" in B2. An example:-ī2 Arr (HH:MM)To calculate elapsed time, you will need to supply both the day number and the time for the train's departure and arrival. I think I have to enter the number of days over the first and last to calculate the difference successfully. Example depart Paris 1940 Day 1 and arrive Istanbul 06.56 on Day 4. These may take at least one day but possibly more. Aldringtronhalt wrote:I am trying to calculate elapsed time for railway trains.
