Difference between revisions of "Documentation/How Tos/Calc: TIMEVALUE function"

From Apache OpenOffice Wiki
Jump to: navigation, search
m
m
 
(7 intermediate revisions by 4 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 ==
Line 14: Line 19:
 
: 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>.
  
=== See also: ===
+
{{SeeAlso|EN|
'''[[Documentation/How_Tos/Calc: TIME function|TIME]]''',
+
* [[Documentation/How_Tos/Calc: TIME function|TIME]]
'''[[Documentation/How_Tos/Calc: DATEVALUE function|DATEVALUE]]'''
+
* [[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 and Time overview|Date & Time overview]]
  
'''[[Documentation/How_Tos/Calc: Date & Time functions|Date & Time functions]]'''
+
* [[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 alphabetically|Functions listed alphabetically]]
[[Documentation/How_Tos/Calc: Functions listed by category|'''Functions listed by category''']]
+
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
 +
[[Category: Documentation/Reference/Calc/Date and Time functions]]

Latest revision as of 13:53, 30 January 2024



TIMEVALUE

returns the date-time serial number, from a time given as text.

Syntax:

TIMEVALUE(timetext)

timetext is a time, expressed as text.
TIMEVALUE returns the date-time serial number, which may be formatted to read as a time.

Example:

TIMEVALUE("16:48:00")

returns 0.7, the date-time serial number for 16:48:00. This may be formatted to read, for example, 4:48 PM.



See Also
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_TIMEVALUE_function&oldid=259696"
Views
Personal tools
Navigation
Tools