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

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 53: Line 53:
 
: 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>.
  
{{Documentation/SeeAlso|
+
{{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]]

Revision as of 07:28, 17 July 2018


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=243348"
Views
Personal tools
Navigation
Tools