Difference between revisions of "Documentation/How Tos/Calc: TIME function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(Initial content) |
m |
||
(10 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__ | + | {{DISPLAYTITLE: TIME function}} |
+ | {{Documentation/CalcFunc DateTimeTOC | ||
+ | |ShowPrevNext=block | ||
+ | |PrevPage=Documentation/How_Tos/Calc:_DATEVALUE_function | ||
+ | |NextPage=Documentation/How_Tos/Calc:_TIMEVALUE_function | ||
+ | }}__NOTOC__ | ||
== TIME == | == TIME == | ||
returns the time, given hours, minutes and seconds. | returns the time, given hours, minutes and seconds. | ||
− | |||
=== Syntax: === | === Syntax: === | ||
Line 11: | Line 15: | ||
: If <tt>'''hours'''</tt>, <tt>'''minutes'''</tt> and <tt>'''seconds'''</tt> are not within range for a valid time, the time will 'roll over', as shown below. | : If <tt>'''hours'''</tt>, <tt>'''minutes'''</tt> and <tt>'''seconds'''</tt> are not within range for a valid time, the time will 'roll over', as shown below. | ||
− | |||
=== Example: === | === Example: === | ||
Line 20: | Line 23: | ||
: returns 9:32:15 am - the time rolls over, as there are only 60 seconds in a minute. | : returns 9:32:15 am - the time rolls over, as there are only 60 seconds in a minute. | ||
+ | {{SeeAlso|EN| | ||
+ | * [[Documentation/How_Tos/Calc: DATE function|DATE]] | ||
+ | * [[Documentation/How_Tos/Calc: TIMEVALUE function|TIMEVALUE]] | ||
− | + | * [[Documentation/How_Tos/Calc: Date & Time functions#Date and Time overview|Date & Time overview]] | |
− | + | ||
− | + | ||
− | + | * [[Documentation/How_Tos/Calc: Date & Time functions|Date & Time functions]] | |
− | + | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | |
+ | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | ||
+ | [[Category: Documentation/Reference/Calc/Date and Time functions]] |