Difference between revisions of "Documentation/How Tos/Calc: TIMEVALUE function"
From Apache OpenOffice Wiki
< Documentation | How Tos
m |
OOoWikiBot (Talk | contribs) m (Robot: Automated text replacement %s) |
||
Line 14: | Line 14: | ||
: 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| | |
− | + | * [[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| | + | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] |
− | [[Documentation/How_Tos/Calc: Functions listed by category| | + | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} |
Revision as of 14:23, 25 February 2009
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.