Difference between revisions of "Documentation/How Tos/Calc: DATEVALUE function"
From Apache OpenOffice Wiki
< Documentation | How Tos
OOoWikiBot (Talk | contribs) m (Robot: Automated text replacement %s) |
OOoWikiBot (Talk | contribs) m (Robot: Automated text replacement %s) |
||
Line 16: | Line 16: | ||
{{Documentation/SeeAlso| | {{Documentation/SeeAlso| | ||
* [[Documentation/How_Tos/Calc: DATE function|DATE]] | * [[Documentation/How_Tos/Calc: DATE function|DATE]] | ||
− | * [[Documentation/How_Tos/Calc: TIMEVALUE function|TIMEVALUE]] | + | * [[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 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]]}} |
Revision as of 14:01, 26 February 2009
DATEVALUE
returns the date-time serial number, from a date given as text.
Syntax:
DATEVALUE(datetext)
- datetext is a date, expressed as text.
- DATEVALUE returns the date-time serial number, which may be formatted to read as a date.
Example:
DATEVALUE("2007-11-23")
- returns 39409, the date-time serial number for 23Nov2007 (assuming the default date-time starting date)