Text Documents (Writer)
HTML Documents (Writer Web)
Spreadsheets (Calc)
Presentations (Impress)
Drawings (Draw)
Database Functionality (Base)
Formulae (Math)
Charts and Diagrams
Macros and Scripting
Office Installation
Common Help Topics
OneOffice Logo

TIME

TIME returns the current time value from values for hours, minutes and seconds. This function can be used to convert a time based on these three elements to a decimal time value.

This function is part of the Open Document Format for Office Applications (OpenDocument) standard Version 1.2. (ISO/IEC 26300:2-2015)

Syntax

TIME(Hour; Minute; Second)

Use an integer to set the Hour.

Use an integer to set the Minute.

Use an integer to set the Second.

Example

=TIME(0;0;0) returns 00:00:00

=TIME(4;20;4) returns 04:20:04