One function that I think is missing in spreadsheets, and not just in OpenOffice, is the ability to calculate time that is in a "stopwatch" format. It does get messy in doing manual calculations. To me it seems that it would be a great enhancement.

ETobias wrote:One function that I think is missing in spreadsheets, and not just in OpenOffice, is the ability to calculate time that is in a "stopwatch" format.

Read section 4. Times in cells in Ten concepts that every Calc user should know. Perhaps you want a duration instead of clock time. If you need additional assistance describe precisely what "stopwatch format" means. Give an example of the calculation you would like to do.

If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the title. You can select the green checkmark icon at the same time.

Mr. ProgrammerAOO 4.1.5 Build 9789 on MacOS 10.11.6. The locale for any menus or Calc formulas in my posts is English (USA).

I do not know what is it the "stopwatch" format exactly, but I suppose it, you want see the tenth and the hundredth and the thousandths of the seconds in the cell.Try to use this format code in the applied cell style:YYYY-MM-DD HH:MM:SS,000

orfor time only:[HH]:MM:SS,000

The second format code will show the "days", "months" and "years" in "hours" unit.

Tibor Kovacs, Hungary; LO4.4.7, LO6.1.5 on Win7-10 x64Prof.PortableApps, winPenPack: LO3.3.0-6.2.2; AOO4.1.5 Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.

Isn't everything listed above related to time of day? I want to do some calculations related to race times (running). I am able to get around it by manual calculations, i.e., trunc (to determine minutes), (D1-trunc(D1))*60 (to determine seconds). This works but it would be nice to have something easier and more elegant.

The date-time values are floating point numbers in the spreadsheet softwares. The integer part represents thhe numbers of the days since the base date. The LO and AOO can handle three different base date. See them in the settings. The decimal fraction part represents the time value inside a day. Read: 0.5 = half day = 12:00:00.000You can get the difference of two date-time values by substracting the start value from the end value. Then you can format the result (the difference) as is is described above.

Or you can calculate (multiply by 60; and 60; ) for the results in smaller units.

Tibor Kovacs, Hungary; LO4.4.7, LO6.1.5 on Win7-10 x64Prof.PortableApps, winPenPack: LO3.3.0-6.2.2; AOO4.1.5 Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.

ETobias wrote:Isn't everything listed above related to time of day? I want to do some calculations related to race times (running). I am able to get around it by manual calculations, i.e., trunc (to determine minutes), (D1-trunc(D1))*60 (to determine seconds). This works but it would be nice to have something easier and more elegant.

Built-in support for the traditional ways of giving time values in mixed units is only available for the formatted display and for entering values in the colon-separated way with an indispensable hours-part like in

e.g. The floatingpoint number used to represent such a value is always based on the unit d (day) which is the worst choice for durations, mainly because many countries forced days of 23 h or 25 h to occur legally.

As an example, T2=T1*((D2/D1)^1.06) Where T1 and T2 are times in minutes and seconds and D1 and D2 are distances. I was able to do it by entering the minutes and second in separate cells and do the calculations. It just seems that it should be an easier way.

As an example, T2=T1*((D2/D1)^1.06) Where T1 and T2 are times in minutes and seconds and D1 and D2 are distances. I was able to do it by entering the minutes and second in separate cells and do the calculations. It just seems that it should be an easier way.

Please upload your real sample file (in ODF format) here.

You signature is:

OOo 2.3.X on Ms Windows XP + Windows 2000

Please update it.

Tibor Kovacs, Hungary; LO4.4.7, LO6.1.5 on Win7-10 x64Prof.PortableApps, winPenPack: LO3.3.0-6.2.2; AOO4.1.5 Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.

Here is a very simple example of displaying times as hours, minutes, seconds and thousandths of seconds and calculating the difference. The cells are simply formatted as [HH]:MM:SS.000 - the decimal point being relevant for my locale; your locale may require a comma.

You can then adapt the format to display as Lupp suggests; you will still be able to calculate based on the underlying floating point value in which Calc stores the data you enter.