Difference between revisions of "Documentation/How Tos/Calc: TIMEVALUE 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: TIMEVALUE function}} |
+ | {{Documentation/CalcFunc DateTimeTOC | ||
+ | |ShowPrevNext=block | ||
+ | |PrevPage=Documentation/How_Tos/Calc:_TIME_function | ||
+ | |NextPage=Documentation/How_Tos/Calc:_EOMONTH_function | ||
+ | }}__NOTOC__ | ||
== TIMEVALUE == | == TIMEVALUE == | ||
− | returns the date-time serial number, from a time as text. | + | returns the date-time serial number, from a time given as text. |
− | + | ||
=== Syntax: === | === Syntax: === | ||
− | <tt>'''TIMEVALUE (timetext)'''</tt> | + | <tt>'''TIMEVALUE(timetext)'''</tt> |
: <tt>'''timetext'''</tt> is a time, expressed as text. | : <tt>'''timetext'''</tt> is a time, expressed as text. | ||
: <tt>'''TIMEVALUE '''</tt> returns the date-time serial number, which may be formatted to read as a time. | : <tt>'''TIMEVALUE '''</tt> returns the date-time serial number, which may be formatted to read as a time. | ||
− | |||
=== Example: === | === Example: === | ||
− | <tt>'''TIMEVALUE ("16:48:00")'''</tt> | + | <tt>'''TIMEVALUE("16:48:00")'''</tt> |
: returns <tt>'''0.7'''</tt>, the date-time serial number for 16:48:00. This may be formatted to read, for example, <tt>'''4:48 PM'''</tt>. | : returns <tt>'''0.7'''</tt>, the date-time serial number for 16:48:00. This may be formatted to read, for example, <tt>'''4:48 PM'''</tt>. | ||
+ | {{SeeAlso|EN| | ||
+ | * [[Documentation/How_Tos/Calc: TIME function|TIME]] | ||
+ | * [[Documentation/How_Tos/Calc: DATEVALUE function|DATEVALUE]] | ||
− | + | * [[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]] |